window.__require = function e(t, n, i) {
	function o(a, c) {
		if (!n[a]) {
			if (!t[a]) {
				var s = a.split("/");
				if (s = s[s.length - 1], !t[s]) {
					var h = "function" == typeof __require && __require;
					if (!c && h) return h(s, !0);
					if (r) return r(s, !0);
					throw new Error("Cannot find module '" + a + "'")
				}
			}
			var l = n[a] = {
				exports: {}
			};
			t[a][0].call(l.exports, function(e) {
				return o(t[a][1][e] || e)
			}, l, l.exports, e, t, n, i)
		}
		return n[a].exports
	}
	for (var r = "function" == typeof __require && __require, a = 0; a < i.length; a++) o(i[a]);
	return o
}({
	AniTools: [function(e, t, n) {
		"use strict";
		cc._RF.push(t, "7034eWi8ABPTrlFKzhpvx8u", "AniTools");
		var i = {
			doLabStrAni: function(e, t, n) {
				e.node.stopAllActions(), e.string = "";
				var i = t.split(""),
					o = 0,
					r = n / i.length;
				e.node.runAction(cc.sequence(cc.callFunc(function() {
					e.string = e.string + i[o], o++
				}), cc.delayTime(r)).repeat(i.length))
			},
			gunNumLabAni: function(e, t) {
				var n = parseInt(e.string);
				if (t != n) {
					var i = 0,
						o = t - n >= 50 ? 50 : t - n;
					e.node.runAction(cc.sequence(cc.callFunc(function() {
						i >= o - 1 ? e.string = t : (n++, e.string = n), i++
					}), cc.delayTime(.02)).repeat(o))
				}
			},
			openUIAni: function(e, t, n, i) {
				e.opacity = 0, t.scale = 0, e.runAction(cc.fadeTo(n, 100)), t.runAction(cc
					.sequence(cc.scaleTo(n, 1).easing(cc.easeBackOut()), cc.callFunc(i)))
			},
			closeUIAni: function(e, t, n, i) {
				e.runAction(cc.fadeOut(n)), t.runAction(cc.sequence(cc.scaleTo(n, 0).easing(cc
					.easeBackIn()), cc.callFunc(i)))
			},
			fireColorArr: ["#F5CD4D", "#F77986", "#D0F057", "#7ACCE8", "#E365EE"],
			fireworksAni: function(e, t, n, i) {
				for (var o = 0; o < t; o++) {
					var r = ToolsJs.newSprite("fire" + this.returnRanNum(1, 4));
					r.scale = .3 + .5 * Math.random(), r.position = n, r.color = cc.color(this
							.fireColorArr[this.returnRanNum(0, this.fireColorArr.length - 1)]),
						e.addChild(r, 88);
					var a = this.returnRanNum(i - 15, i + 15),
						c = this.returnRanNum(300, 1e3);
					this.fireObjAni(r, a, c, 350, .005 * o)
				}
			},
			fireObjAni: function(e, t, n, i) {
				var o = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : 0,
					r = .1 + .5 * Math.random();
				e.runAction(cc.rotateBy(r, this.returnRanNum(-360, 360)).repeatForever());
				var a = cc.misc.degreesToRadians(t),
					c = cc.v2(Math.cos(a) * n, Math.sin(a) * n),
					s = n / i;
				e.runAction(cc.sequence(cc.delayTime(o), cc.jumpBy(s, cc.v2(1.5 * c.x, 0), n,
					1), cc.removeSelf(!0)))
			},
			bombObjAni: function(e, t, n, i, o, r) {
				t = t || this.returnRanNum(-180, 180);
				var a = cc.misc.degreesToRadians(t),
					c = cc.v2(Math.cos(a) * n, Math.sin(a) * n),
					s = n / i,
					h = o ? 0 : e.scale,
					l = r ? 0 : 255;
				e.runAction(cc.sequence(cc.spawn(cc.scaleTo(s + .1, h), cc.moveBy(s, c).easing(
					cc.easeQuadraticActionOut()), cc.fadeTo(s + .1, l)), cc.fadeOut(
					.1), cc.removeSelf(!0)))
			},
			playAni: function(e, t) {
				e.getComponent(cc.Animation).play(t)
			},
			stopAni: function(e, t) {
				e.getComponent(cc.Animation).stop(t)
			},
			addNodeAni: function(e, t, n, i, o, r, a) {
				for (var c = e.getComponent(cc.Animation), s = [], h = i; h <= o; h++) {
					var l = new cc.SpriteFrame(cc.url.raw("resources/" + t + h + ".png"));
					s.push(l)
				}
				var u = cc.AnimationClip.createWithSpriteFrames(s, 5);
				u.name = n, u.speed = a, u.wrapMode = r ? cc.WrapMode.Loop : cc.WrapMode.Normal,
					c.addClip(u)
			},
			returnRanNum: function(e, t) {
				return e + Math.floor(Math.random() * (t - e + 1))
			}
		};
		window.AniTools = i, cc._RF.pop()
	}, {}],
	Canvas: [function(e, t, n) {
		"use strict";
		cc._RF.push(t, "021a7HTivRAYartz5CHjygK", "Canvas");
		e("mTool");
		var i = e("GameData"),
			o = e("GameConfig");
		cc.Class({
			extends: cc.Component,
			properties: {
				addscore: cc.Prefab,
				gameScore: cc.Label,
				labelSpres: [cc.SpriteFrame]
			},
			onLoad: function() {
				cc.director.getCollisionManager().enabled = !0, this.Init()
			},
			start: function() {},
			openAD: function() {
				o.ShowAD || (o.ShowAD = !0)
			},
			showAD: function() {
			},
			Init: function() {
				this.gameWidth = cc.winSize.width, this.gameHeight = cc.winSize.height, this
					.timer = 0, i.getData(), this.change = !0, this.isFirst = !1, this
					.isFirst && (this.xsyd.active = !0), this.openAD()
			},
			vectorsToDegress: function(e) {
				var t = cc.v2(1, 0),
					n = e.signAngle(t);
				return cc.misc.radiansToDegrees(-n)
			},
			degreesToVectors: function(e) {
				var t = cc.misc.degreesToRadians(e);
				return cc.v2(1, 0).rotate(t)
			},
			AddScore: function(e, t, n, i) {
				t.x *= -1, this.node.getComponent("PlayMusic").PlayColideBall();
				var o = cc.instantiate(this.addscore);
				o.getChildByName("num").getComponent(cc.Label).string = e, o.getChildByName(
						"word").getComponent(cc.Sprite).spriteFrame = this.labelSpres[i], o
					.zIndex = 100, o.scale = .1;
				o.setPosition(t.x + 0, t.y + 200), o.parent = this.node;
				var r = cc.rotateBy(.4, 375),
					a = cc.scaleTo(.4, 1.125),
					c = cc.moveBy(.4, cc.v2(0, 100)).easing(cc.easeIn(1));
				cc.fadeOut(2), cc.spawn(r, a);
				o.runAction(cc.sequence(cc.delayTime(n), cc.spawn(a, r, cc.sequence(cc
						.delayTime(.1), c)), cc.scaleTo(.15, 1.5), cc.scaleTo(.2,
					1), cc.removeSelf()))
			},
			timer: 0,
			cd: 0,
			update: function(e) {
				var t = this;
				if (this.timer < .01 && (this.timer += e, this.timer >= .01 && (this.timer =
						0, o.gameScore > Number(this.gameScore.string)))) {
					if (this.change) {
						this.change = !1;
						var n = cc.scaleTo(.1, 1.2),
							i = cc.scaleTo(.1, 1),
							r = cc.sequence(n, i, cc.callFunc(function() {
								t.change = !0
							}, this));
						this.gameScore.node.runAction(r)
					}
					this.gameScore.string = (Number(this.gameScore.string) + 1).toString()
				}
			}
		}), cc._RF.pop()
	}, {
		GameConfig: "GameConfig",
		GameData: "GameData",
		mTool: "mTool"
	}],
	GameConfig: [function(e, t, n) {
		"use strict";
		cc._RF.push(t, "f0663sWtfNKCKOL+Hvnt0cI", "GameConfig");
		var i = {
			ShowAD: !1,
			playing: !1,
			GameClubButton: null,
			GameScene: null,
			launchScene: null,
			Bros: null,
			caS: null,
			MAIN_MENU_NUM: "Classic",
			gameScore: 0,
			standScore: 450,
			GAME_OVER_BOOL: !0,
			publicGameBool: !1,
			ranLinkData: null,
			recGameData: null,
			InfoData: null,
			endShow0: null,
			endShow1: null,
			endShow2: null,
			endShow3: null,
			infoGameName: null,
			showText: null,
			startText: null,
			moreGameText: null,
			playAgainText: null,
			playNum: 0,
			noTouchBool: !0,
			returnRanNum: function(e, t) {
				return e + Math.floor(Math.random() * (t - e + 1))
			}
		};
		t.exports = i, cc._RF.pop()
	}, {}],
	GameData: [function(e, t, n) {
		"use strict";
		cc._RF.push(t, "4d074o+dXxI664FFCC3Ukch", "GameData");
		var i = {
			isFirst: !0,
			bestScore: 1,
			levelnum: 1,
			getData: function() {
				var e = cc.sys.localStorage.getItem("synthticdessert");
				if (null == e || "" == e) this.isFirst = !0, this.bestScore = 0, this.levelnum =
					1;
				else {
					var t = JSON.parse(e);
					this.isFirst = t.isFirst, this.bestScore = t.bestScore, this.levelnum = t
						.levelnum
				}
				this.setData()
			},
			setData: function() {
				var e = {
					isFirst: this.isFirst,
					bestScore: this.bestScore,
					levelnum: this.levelnum
				};
				cc.sys.localStorage.setItem("synthticdessert", JSON.stringify(e))
			}
		};
		t.exports = i, cc._RF.pop()
	}, {}],
	GameLayer: [function(e, t, n) {
		"use strict";
		cc._RF.push(t, "556ee7GwqRIZaOQh7qtu6rY", "GameLayer");
		var i = this && this.__extends || function() {
				var e = function(t, n) {
					return (e = Object.setPrototypeOf || {
							__proto__: []
						}
						instanceof Array && function(e, t) {
							e.__proto__ = t
						} || function(e, t) {
							for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
						})(t, n)
				};
				return function(t, n) {
					function i() {
						this.constructor = t
					}
					e(t, n), t.prototype = null === n ? Object.create(n) : (i.prototype = n
						.prototype, new i)
				}
			}(),
			o = this && this.__decorate || function(e, t, n, i) {
				var o, r = arguments.length,
					a = r < 3 ? t : null === i ? i = Object.getOwnPropertyDescriptor(t, n) : i;
				if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) a = Reflect
					.decorate(e, t, n, i);
				else
					for (var c = e.length - 1; c >= 0; c--)(o = e[c]) && (a = (r < 3 ? o(a) : r > 3 ? o(
						t, n, a) : o(t, n)) || a);
				return r > 3 && a && Object.defineProperty(t, n, a), a
			};
		Object.defineProperty(n, "__esModule", {
			value: !0
		});
		var r = e("./Util"),
			a = e("./Interface"),
			c = e("../commonJs/GameConfig"),
			s = e("../MyScripts/GameData"),
			h = e("../MainManage"),
			l = cc._decorator,
			u = l.ccclass,
			g = l.property,
			d = function(e) {
				function t() {
					var t = null !== e && e.apply(this, arguments) || this;
					return t.canvas = null, t.xsyd = null, t.camera = null, t.gameScore = null, t
						.bgLayer = null, t.successPanel = null, t.ad = null, t.gameWidth = 0, t
						.gameHeight = 0, t.addHeight = 0, t.startPos = cc.v2(0, 0), t.canTouch = !0, t
						.levelnum = 1, t.robinSpres = [], t.robin = null, t.biggrid = null, t
						.changeBtn = null, t.stone = null, t.grid = null, t.gem = null, t.sx = null, t
						.gemSpriteFrames = [], t.DeadSpriteFrames = [], t.gridSpriteFrames = [], t
						.sxSpriteFrames = [], t.overPanel = null, t.circle = null, t.gemspeed = 800, t
						.mixturespeed = 500, t.MaxType = 0, t.colorstring = ["2df037", "fef119",
							"45c9fc", "fe6b74", "c10ff6", "#FFFFFF", "fef119", "c10ff6", "c10ff6"
						], t.mixtureArr = [], t.mixtureArr1 = [], t.mixturetimes = 0, t.ld = null, t
						.row = 5, t.col = 5, t.gridH = 0, t.gridW = 0, t.gridspace = 15, t.canuseH = 0,
						t.scale = 0, t.gridArr = [], t.hideGridArr = null, t.previewnum = 3, t
						.previewArr = [], t.offsety = 0, t
				}
				return i(t, e), t.prototype.onLoad = function() {
						this.InitData(), this.SetBgLayer(), this.SetLevelData(), this.SetLevelUI(), this
							.InitGrid(), this.InitGem(), this.Init(), this.OpenLd(), this.ld
							.pauseAllActions()
					}, t.prototype.start = function() {
						this.overPanel.setContentSize(this.node.width, this.node.height);
						var e = this.returnCurrentLanType(),
							t = this.overPanel.getChildByName("yxjs"),
							n = this.overPanel.getChildByName("djckfs");
						1 == e ? (t.getComponent(cc.Label).string = "\u6e38 \u620f \u7ed3 \u675f", n
								.getComponent(cc.Label).string = "\u70b9\u51fb\u67e5\u770b\u5206\u6570"
								) : 2 == e ? (t.getComponent(cc.Label).string =
								"\u904a \u6232 \u7d50 \u675f", n.getComponent(cc.Label).string =
								"\u9ede\u64ca\u67e5\u770b\u5206\u6578") : 3 == e ? (t.getComponent(cc
									.Label).string = "game over", n.getComponent(cc.Label).string =
								"Click to view score") : 4 == e && (t.getComponent(cc.Label).string =
								"\uac8c\uc784 \ub05d", n.getComponent(cc.Label).string =
								"\uc810\uc218\ub97c \ubcf4\ub824\uba74 \ud074\ub9ad\ud558\uc138\uc694")
					}, t.prototype.returnCurrentLanType = function() {
						var e = 1;
						switch (cc.sys.language) {
							case cc.sys.LANGUAGE_CHINESE:
								"zh-TW" == window.navigator.language || "zh-tw" == window.navigator
									.language || "zh-HK" == window.navigator.language || "zh-hk" ==
									window.navigator.language ? (cc.log("\u7e41\u4f53"), e = 2) : (cc
										.log("\u7b80\u4f53"), e = 1);
								break;
							case cc.sys.LANGUAGE_KOREAN:
								e = 4;
								break;
							default:
								e = 3
						}
						return e
					}, t.prototype._touchoverPannel = function() {
						var e = this;
						this.overPanel.runAction(cc.sequence(cc.fadeOut(.1), cc.callFunc(
							function() {
								e.overPanel.active = !1, e.canvas.getComponent("MainGameJS")
									.gameEnd()
							}, this)))
					}, t.prototype.Init = function() {
						var e = this;
						this.overPanel.on("touchend", this._touchoverPannel, this), cc.director.on(a
							.EVENT.TOUCHED_START,
							function(t) {
								if (e.canTouch) {
									e.canTouch = !1;
									var n = e.node.convertToNodeSpaceAR(t.getLocation()),
										i = e.CheckHaveGrid(n);
									if (null == i) return cc.log(
										"\u70b9\u51fb\u5904\u6ca1\u683c\u5b50"), void(e
										.canTouch = !0);
									if (e.CheckHaveGem(i)) return cc.log(
										"\u683c\u5b50\u91cc\u6709\u5b9d\u77f3\u4e86"), void(
										e.canTouch = !0);
									e.canvas.getComponent("PlayMusic").PlayTouch(), e.GemIntoGrid(i)
								}
							}, this), cc.director.on(a.EVENT.TOUCHED_END, function() {}, this)
					}, t.prototype.CheckHaveGrid = function(e) {
						for (var t = null, n = this.gridArr, i = 0; i < n.length; i++) {
							for (var o = 0; o < n[i].length; o++) {
								var r = n[i][o];
								if (r.getBoundingBox().contains(e)) {
									t = r;
									break
								}
							}
							if (null != t) break
						}
						if (null != t && -1 != this.hideGridArr.indexOf(t)) return null;
						return t
					}, t.prototype.CheckHaveGem = function(e) {
						return e.getComponent("Grid").ishave
					}, t.prototype.InitData = function() {
						this.gameWidth = cc.winSize.width, this.gameHeight = cc.winSize.height, r
							.default.SCREEN_W = this.gameWidth, r.default.SCREEN_H = this.gameHeight,
							this.node.width = this.gameWidth, this.node.height = this.gameHeight, this
							.node.setPosition(0, 0), this.bgLayer.setContentSize(this.node.width, this
								.node.height), this.bgLayer.setPosition(0, 0), this.gameScore
							.setPosition(0, this.gameHeight / 2 - this.gameScore.height / 2), this
							.gameScore.zIndex = 10, this.gameHeight >= 1280 ? this.scale = 1 : this
							.gameHeight < 1280 && (this.scale = this.gameHeight / 1280), this.ad
							.setContentSize(cc.size(this.gameWidth, this.addHeight)), this.ad
							.setPosition(cc.v2(0, -this.gameHeight / 2 + this.ad.height / 2)), this.ad
							.zIndex = 10, s.getData(), this.MaxType = this.gemSpriteFrames.length
					}, t.prototype.GemIntoGrid = function(e) {
						var t = this,
							n = this.previewArr,
							i = n[n.length - 1];
						i.zIndex = 2;
						var o = i.getComponent("Gem"),
							a = e.getComponent("Grid");
						a.type = o.type, a.gem = i, n.pop(), this.AddGem(), a.ishave = !0;
						r.default.getDistance(i.position, e.position);
						var c = i.getChildByName("spr").getComponent(cc.Animation);
						c.defaultClip;
						this.canvas.getComponent("PlayMusic").PlayColideBrick(), i.runAction(cc
							.sequence(cc.spawn(cc.moveTo(300 / this.gemspeed, e.position).easing(cc
									.easeIn(3)), cc.sequence(cc.scaleTo(300 / this.gemspeed *
									.5, 1.3), cc.scaleTo(300 / this.gemspeed * .5, 1))), cc
								.callFunc(function() {
									t.canvas.getComponent("PlayMusic").PlayColideBall()
								}, this), cc.delayTime(0), cc.callFunc(function() {
									i.zIndex = 1, t.mixtureArr.length = 0, t.CheckMixture(e), t
										.mixtureArr.length > 1 ? t.GemMixture(e) : (c.play(
											"gem"), t.CheckFull() ? (cc.log(
											"\u683c\u5b50\u6ee1\u4e86\uff0c\u6e38\u620f\u7ed3\u675f"
											), t.canTouch = !1, t.gameScore.runAction(cc
											.moveBy(.5, cc.v2(0, 300))), t.scheduleOnce(
											function() {
												this.DeadEffect()
											}, 1.5)) : (cc.log("\u683c\u5b50\u6ca1\u6ee1"),
											t.canTouch = !0))
								}, this)))
					}, t.prototype.DeadEffect = function() {
						this.overPanel.zIndex = this.node.zIndex + 1, this.canvas.getComponent(
								"PlayMusic").PlayDead(), this.overPanel.active = !0, this.overPanel
							.opacity = 0, this.overPanel.y += 50, this.overPanel.runAction(cc.spawn(cc
								.fadeIn(.3), cc.moveBy(.3, cc.v2(0, -50))))
					}, t.prototype.MakeSx = function(e, t) {
						for (var n = 0; n < t; n++) {
							var i = cc.instantiate(this.sx);
							i.getComponent(cc.Sprite).spriteFrame = this.sxSpriteFrames[r.default
									.getRandomNum(0, 2, !0)], i.setPosition(e), i.scale = r.default
								.getRandomNum(5, 7, !0) / 10, i.parent = this.canvas;
							var o = [-1, 1][r.default.getRandomNum(0, 1, !0)],
								a = 10 * r.default.getRandomNum(20, 40, !0);
							i.runAction(cc.sequence(cc.jumpBy(.8, cc.v2(o * r.default.getRandomNum(0,
									300, !0), -a), a * r.default.getRandomNum(5, 8, !0) /
								10, 1).easing(cc.easeOut(1)), cc.callFunc(function() {},
								this))), i.runAction(cc.scaleTo(.6, r.default.getRandomNum(9, 11, !
								0) / 10)), i.runAction(cc.sequence(cc.delayTime(.4), cc.fadeOut(.4),
								cc.removeSelf()))
						}
					}, t.prototype.MakeSx1 = function(e, t, n) {
						if (n) {
							var i = cc.instantiate(this.circle);
							i.scale = 0, i.opacity = 0, i.setPosition(e), i.parent = this.node, i
								.runAction(cc.sequence(cc.fadeIn(.4), cc.fadeOut(.2), cc.removeSelf())),
								i.runAction(cc.scaleTo(.4, 1))
						}
						for (var o = 0; o < t; o++) {
							var a = cc.instantiate(this.sx);
							a.getComponent(cc.Sprite).spriteFrame = this.sxSpriteFrames[r.default
								.getRandomNum(0, 2, !0)], a.scale = r.default.getRandomNum(10, 15, !
								0) / 10, a.parent = this.node;
							var c = r.default.getRandomNum(0, 360, !0),
								s = r.default.degreesToVectors(c),
								h = r.default.getRandomNum(0, 250, !0),
								l = r.default.getRandomNum(0, 250, !0);
							a.angle = c, a.setPosition(e.x + s.x * h, e.y + s.y * h), a.runAction(cc
								.sequence(cc.spawn(cc.moveBy(l / 250, cc.v2(s.x * l, s.y * l)), cc
									.scaleTo(l / 250, 0), cc.rotateBy(l / 250, 100 * r.default
										.GetPositiveNegative())), cc.removeSelf()))
						}
					}, t.prototype.GemMixture = function(e) {
						var t = this,
							n = e,
							i = n.getComponent("Grid"),
							o = i.gem,
							a = o.getComponent("Gem");
						i.type += 1;
						for (var s = i.type, h = [], l = 1; l < this.mixtureArr.length; l++) {
							var u = this.mixtureArr[l].getComponent("Grid"),
								g = u.gem;
							u.ishave = !1, u.type = 0, u.gem = null, h.push(g)
						}
						this.mixtureArr.length = 0, o.runAction(cc.sequence(cc.scaleTo(.1, .8).easing(cc
								.easeOut(2)), cc.scaleTo(.25, 1.35).easing(cc.easeOut(2)), cc
							.spawn(cc.moveTo(.15, n.position), cc.scaleTo(.25, 1))));
						var d = function(e) {
								var l = h[e];
								r.default.getDistance(l.position, n.position), m.mixturespeed, r.default
									.getNormalizeVector(n.position, l.position);
								l.runAction(cc.sequence(cc.scaleTo(.1, .8).easing(cc.easeOut(2)), cc
									.scaleTo(.25, 1.35).easing(cc.easeOut(2)), cc.spawn(cc
										.moveTo(.15, n.position), cc.scaleTo(.25, 1)), cc
									.callFunc(function() {
										l.opacity = 0, e == h.length - 1 && (t
											.mixturetimes++, c.gameScore += s - 1, a
											.UpLevel(t.gemSpriteFrames[s - 1], s, t
												.gridH), t.canvas.getComponent(
												"PlayMusic").PlayMixture(t.mixturetimes)
											)
									}, m), cc.delayTime(0), cc.callFunc(function() {
										e == h.length - 1 && (a.type >= t.MaxType ? (i
												.ishave = !1, i.type = 0, i.gem = null,
												t.PopGround(i.node, o)) : (t.LzEffect(
												o), t.CheckMixture(n), t.mixtureArr
												.length > 1 ? (cc.log(
													"\u5408\u6210\u5b8c\u53c8\u627e\u5230\u76f8\u540c\u7ea7\u522b\u7684\u4e86"
													), t.GemMixture(n)) : (o
													.getChildByName("spr").getComponent(
														cc.Animation).play("gem2"), t
													.mixturetimes = 0, t.canTouch = !0)
												))
									}, m), cc.removeSelf()))
							},
							m = this;
						for (l = 0; l < h.length; l++) d(l)
					}, t.prototype.PopGround = function(e, t) {
						var n = this,
							i = e.getComponent("Grid"),
							o = (i.x, i.y, t.getChildByName("spr"));
						o.setAnchorPoint(.5, .5), o.setPosition(0, 0), t.runAction(cc.sequence(cc
							.scaleTo(.25, .7).easing(cc.easeOut(2)), cc.delayTime(.1), cc.spawn(
								cc.scaleTo(.1, 1.5).easing(cc.easeIn(3)), cc.callFunc(
							function() {}, this)), cc.callFunc(function() {
								n.canvas.getComponent("PlayMusic").PlayEatLj(), n.canvas
									.getComponent("PlayMusic").PlayStar(), n.mixturetimes =
									0, c.gameScore += 50, n.MakeSx1(t.position, 80, !0)
							}, this), cc.callFunc(function() {
								n.canTouch = !0
							}, this), cc.removeSelf()))
					}, t.prototype.LzEffect = function(e) {
						e.getComponent("Gem");
						var t = e.getChildByName("sg");
						t.opacity = 0, t.runAction(cc.sequence(cc.spawn(cc.fadeIn(.3), cc.rotateBy(.5,
							80)), cc.spawn(cc.fadeOut(.3), cc.rotateBy(.5, 80)))), this.MakeSx(e
							.position, 20)
					}, t.prototype.CheckFull = function() {
						for (var e = !0, t = 0; t < this.gridArr.length; t++) {
							for (var n = 0; n < this.gridArr[t].length; n++) {
								var i = this.gridArr[t][n].getComponent("Grid"),
									o = this.hideGridArr.indexOf(i.node);
								if (!i.ishave && -1 == o) {
									e = !1;
									break
								}
							}
							if (!e) break
						}
						return e
					}, t.prototype.CheckMixture = function(e) {
						-1 == this.mixtureArr.indexOf(e) && this.mixtureArr.push(e);
						var t = e.getComponent("Grid"),
							n = t.x,
							i = t.y,
							o = t.type;
						if (n + 1 < this.row && n + 1 >= 0 && i < this.col && i >= 0) {
							var r = this.gridArr[n + 1][i].getComponent("Grid");
							if (r.ishave)
								if (r.type == o) - 1 == this.mixtureArr.indexOf(r.node) && (this
									.mixtureArr.push(r.node), this.CheckMixture(r.node))
						}
						if (n - 1 < this.row && n - 1 >= 0 && i < this.col && i >= 0) {
							cc.log(n - 1);
							var a = this.gridArr[n - 1][i].getComponent("Grid");
							if (a.ishave)
								if (a.type == o) - 1 == this.mixtureArr.indexOf(a.node) && (this
									.mixtureArr.push(a.node), this.CheckMixture(a.node))
						}
						if (n < this.row && n >= 0 && i + 1 < this.col && i + 1 >= 0) {
							var c = this.gridArr[n][i + 1].getComponent("Grid");
							if (c.ishave)
								if (c.type == o) - 1 == this.mixtureArr.indexOf(c.node) && (this
									.mixtureArr.push(c.node), this.CheckMixture(c.node))
						}
						if (n < this.row && n >= 0 && i - 1 < this.col && i - 1 >= 0) {
							var s = this.gridArr[n][i - 1].getComponent("Grid");
							if (s.ishave)
								if (s.type == o) - 1 == this.mixtureArr.indexOf(s.node) && (this
									.mixtureArr.push(s.node), this.CheckMixture(s.node))
						}
						if (n - 1 < this.row && n - 1 >= 0 && i + 1 < this.col && i + 1 >= 0) {
							var h = this.gridArr[n - 1][i + 1].getComponent("Grid");
							if (h.ishave)
								if (h.type == o) - 1 == this.mixtureArr.indexOf(h.node) && (this
									.mixtureArr.push(h.node), this.CheckMixture(h.node))
						}
						if (n + 1 < this.row && n + 1 >= 0 && i + 1 < this.col && i + 1 >= 0) {
							var l = this.gridArr[n + 1][i + 1].getComponent("Grid");
							if (l.ishave)
								if (l.type == o) - 1 == this.mixtureArr.indexOf(l.node) && (this
									.mixtureArr.push(l.node), this.CheckMixture(l.node))
						}
						if (n - 1 < this.row && n - 1 >= 0 && i - 1 < this.col && i - 1 >= 0) {
							var u = this.gridArr[n - 1][i - 1].getComponent("Grid");
							if (u.ishave)
								if (u.type == o) - 1 == this.mixtureArr.indexOf(u.node) && (this
									.mixtureArr.push(u.node), this.CheckMixture(u.node))
						}
						if (n + 1 < this.row && n + 1 >= 0 && i - 1 < this.col && i - 1 >= 0) {
							var g = this.gridArr[n + 1][i - 1].getComponent("Grid");
							if (g.ishave)
								if (g.type == o) - 1 == this.mixtureArr.indexOf(g.node) && (this
									.mixtureArr.push(g.node), this.CheckMixture(g.node))
						}
					}, t.prototype.AddGem = function() {
						var e = cc.instantiate(this.gem);
						e.scale = .7, e.zIndex = 1;
						var t = e.getComponent("Gem"),
							n = this.SetType();
						t.type = n, t.SetSpr(this.gemSpriteFrames[n - 1]), t.SetSize(this.gridH), e
							.setPosition(-this.gameWidth / 2 - e.width / 2, this.biggrid.y), e.parent =
							this.node, this.previewArr.unshift(e), this.UpdatePreviewArrPos()
					}, t.prototype.SetType = function() {
						this.setTypenum++;
						for (var e = 0, t = 1, n = 1, i = 0; i < this.gridArr.length; i++)
							for (var o = 0; o < this.gridArr[i].length; o++) {
								var a = this.gridArr[i][o].getComponent("Grid");
								a.ishave && (a.type > t && (t = a.type), a.type < n && (n = a.type))
							}
						return cc.log(t, n), e = 1 == t && 1 == n ? r.default.getRandomNum(1, 2, !0) : r
							.default.getRandomNum(n, t + 1, !0), this.setTypenum < 2 && (e = 1), e >=
							this.gemSpriteFrames.length - 1 && (e = r.default.getRandomNum(1, this
								.gemSpriteFrames.length - 2, !0)), e
					}, t.prototype.ChangPreviewIndex = function() {
						if (this.canTouch) {
							this.canTouch = !1;
							var e = this.previewArr.pop();
							this.previewArr.unshift(e), this.UpdatePreviewArrPos1()
						}
					}, t.prototype.UpdatePreviewArrPos = function() {
						for (var e = this, t = this.gameWidth / 2 / this.previewnum + 20, n = this
								.previewArr, i = 0; i < n.length; i++) {
							var o = n[i],
								a = cc.v2(0 - (this.previewnum - i - 1) * t, this.biggrid.y);
							i == this.previewnum - 1 && (a.y += this.offsety);
							var c = r.default.getDistance(o.position, a);
							o.runAction(cc.sequence(cc.delayTime(.1), cc.moveTo(c / this.gemspeed, a)
									.easing(cc.easeIn(1)))), i == this.previewArr.length - 1 && o
								.runAction(cc.sequence(cc.delayTime(.1), cc.callFunc(function() {
									e.ld.resumeAllActions()
								}, this), cc.scaleTo(c / this.gemspeed * 1, 1).easing(cc.easeIn(
									1)), cc.callFunc(function() {
									e.ld.pauseAllActions()
								}, this)))
						}
					}, t.prototype.UpdatePreviewArrPos1 = function() {
						for (var e = this, t = this.gameWidth / 2 / this.previewnum + 20, n = this
								.previewArr, i = 0; i < n.length; i++) {
							var o = n[i],
								a = cc.v2(0 - (this.previewnum - i - 1) * t, this.biggrid.y);
							i == this.previewnum - 1 && (a.y += this.offsety);
							r.default.getDistance(o.position, a);
							0 != i ? o.runAction(cc.sequence(cc.delayTime(.1), cc.moveTo(.2, a).easing(
									cc.easeIn(1)))) : o.runAction(cc.sequence(cc.delayTime(.1), cc
									.callFunc(function() {
										e.ld.resumeAllActions()
									}, this), cc.spawn(cc.jumpTo(.2, a, 100, 1).easing(cc.easeIn(
										1)), cc.scaleTo(.2, .7)))), i == this.previewArr.length - 1 && o
								.runAction(cc.sequence(cc.delayTime(.1), cc.scaleTo(.2, 1).easing(cc
									.easeIn(1)), cc.callFunc(function() {
									e.canTouch = !0, e.ld.pauseAllActions()
								}, this)))
						}
					}, t.prototype.SetBgLayer = function() {
						var e = this.bgLayer.getChildByName("up"),
							t = this.bgLayer.getChildByName("down");
						e.width = this.gameWidth, t.width = this.gameWidth, t.height = this.ad.height +
							100, e.setPosition(0, -this.gameHeight / 2 + e.height / 2), t.setPosition(0,
								-this.gameHeight / 2 + t.height / 2), t.getChildByName("stone")
							.setPosition(0, t.height / 2), this.biggrid.setPosition(0, -this
								.gameHeight / 2 + 220 - this.biggrid.height / 2), this.ld.setPosition(0,
								this.biggrid.y), this.biggrid.zIndex = 1, this.changeBtn.node
							.setPosition(150, this.biggrid.y)
					}, t.prototype.SetLevelUI = function() {
						var e = this.gameScore.getChildByName("wood"),
							t = e.getChildByName("di"),
							n = e.getChildByName("levelnum"),
							i = e.getChildByName("guan");
						this.levelnum < 10 ? (t.setContentSize(80, 70), i.setContentSize(80, 70), t
								.x = -110, i.x = 110, n.getComponent(cc.Label).fontSize = 60, n
								.getComponent(cc.Label).string = this.levelnum.toString()) : this
							.levelnum >= 10 && this.levelnum < 100 ? (t.setContentSize(70, 60), i
								.setContentSize(70, 60), t.x = -120, i.x = 120, n.getComponent(cc.Label)
								.fontSize = 50, n.getComponent(cc.Label).string = this.levelnum
								.toString()) : this.levelnum >= 100 && this.levelnum < 1e3 ? (t
								.setContentSize(60, 50), i.setContentSize(60, 50), t.x = -130, i.x =
								130, n.getComponent(cc.Label).fontSize = 40, n.getComponent(cc.Label)
								.string = this.levelnum.toString()) : this.levelnum >= 1e3 && this
							.levelnum < 1e4 ? (t.setContentSize(55, 50), i.setContentSize(55, 50), t
								.x = -140, i.x = 140, n.getComponent(cc.Label).fontSize = 45, n
								.getComponent(cc.Label).string = this.levelnum.toString()) : this
							.levelnum >= 1e4 && this.levelnum < 1e5 && (t.setContentSize(55, 50), i
								.setContentSize(55, 50), t.x = -140, i.x = 140, n.getComponent(cc.Label)
								.fontSize = 40, n.getComponent(cc.Label).string = this.levelnum
								.toString())
					}, t.prototype.SetLevelData = function() {}, t.prototype.OpenLd = function() {
						var e = this;
						this.ld.runAction(cc.repeatForever(cc.sequence(cc.moveBy(.1, cc.v2(50, 0)), cc
							.callFunc(function() {
								e.ld.x = 0
							}, this))))
					}, t.prototype.SetGridH = function() {
						var e = .8;
						this.gameHeight / 1280 < 1 && (e = .8), this.gameHeight / 1280 < .9 && (e =
							.85), this.gameHeight / 1280 < .8 && (e = .9), this.gameHeight / 1280 <
							.7 && (e = .95), this.gridH = 140 * this.scale * e, this.gridW = 132 * this
							.scale * e, this.canuseH = this.gameScore.y - this.gameScore.height / 2 - (
								this.biggrid.y + this.biggrid.height / 2)
					}, t.prototype.InitGrid = function() {
						this.SetGridH();
						var e = (this.gameWidth - (this.gridW * this.row + this.gridspace * (this.row -
								1))) / 2,
							t = (this.canuseH - (this.gridH * this.row + this.gridspace * (this.row -
								1))) / 2;
						cc.log(e, t);
						for (var n = 0; n < this.row; n++) {
							for (var i = [], o = 0; o < this.col; o++) {
								(h = cc.instantiate(this.grid)).setContentSize(this.gridW, this.gridH);
								var a = h.getChildByName("spr");
								a.setContentSize(this.gridW, this.gridH), h.setPosition(-this
									.gameWidth / 2 + h.width / 2 + e + n * (this.gridW + this
										.gridspace), this.biggrid.y + this.biggrid.height / 2 + h
									.height / 2 + t + o * (this.gridH + this.gridspace));
								var c = h.getComponent("Grid"),
									s = h.getChildByName("spr1");
								s.getComponent(cc.Sprite).spriteFrame = this.gridSpriteFrames[r.default
										.getRandomNum(0, 2, !0)], s.setContentSize(a.width, a.height), c
									.x = n, c.y = o, h.parent = this.node, i.push(h)
							}
							this.gridArr.push(i)
						}
						this.hideGridArr = [this.gridArr[0][0], this.gridArr[1][0], this.gridArr[0][1],
							this.gridArr[0][this.col - 1], this.gridArr[1][this.col - 1], this
							.gridArr[0][this.col - 2], this.gridArr[this.row - 1][0], this.gridArr[
								this.row - 1][1], this.gridArr[this.row - 2][0], this.gridArr[this
								.row - 1][this.col - 1], this.gridArr[this.row - 1][this.col - 2],
							this.gridArr[this.row - 2][this.col - 1]
						];
						for (n = 0; n < this.hideGridArr.length; n++) {
							var h;
							(h = this.hideGridArr[n]).active = !1
						}
						cc.log(this.gridArr)
					}, t.prototype.InitGem = function() {
						for (var e = this.gameWidth / 2 / this.previewnum + 20, t = 0; t < this
							.previewnum; t++) {
							var n = cc.instantiate(this.gem);
							t != this.previewnum - 1 && (n.scale = .7), n.zIndex = 1;
							var i = n.getComponent("Gem"),
								o = r.default.getRandomNum(1, 1, !0);
							i.type = o, i.SetSpr(this.gemSpriteFrames[o - 1]), i.SetSize(this.gridH), n
								.setPosition(0 - (this.previewnum - t - 1) * e, this.biggrid.y), t ==
								this.previewnum - 1 && (n.y += this.offsety), n.parent = this.node, this
								.previewArr.push(n)
						}
					}, t.prototype.ShootFlower = function(e) {
						this.scheduleOnce(function() {
								this.NextLevel()
							}, 1.5), this.canvas.getComponent("PlayMusic").PlayStar(), this.canvas
							.getComponent("PlayMusic").PlayEatLj();
						for (var t = [
								[360, 0],
								[-360, 0],
								[360, -71],
								[-360, -71]
							], n = 0; n < t.length; n++) {
							if (t[n][0] >= 0) var i = 1;
							else i = -1;
							for (var o = 0; o < 30; o++) {
								var a = cc.instantiate(this.robin);
								a.getComponent(cc.Sprite).spriteFrame = this.robinSpres[r.default
										.getRandomNum(0, 5, !0)], a.parent = this.canvas, a.scale = r
									.default.getRandomNum(20, 30, !0) / 10, a.position = e, a.scale = r
									.default.getRandomNum(3, 5) / 10;
								var c = a.position,
									s = c.x + r.default.getRandomNum(.5 * -cc.winSize.width, .05 * -cc
										.winSize.width) * i,
									h = c.y + r.default.getRandomNum(100, 500),
									l = cc.v2(c.x + .8 * (s - c.x), c.y + .5 * (h - c.y) + 200);
								a.runAction(cc.sequence(cc.spawn(cc.bezierTo(1, [c, l, cc.v2(s, h)])
									.easing(cc.easeCircleActionOut()), cc.moveBy(2.8, 0,
										1.5 * -cc.winSize.height * r.default.getRandomNum(
											.8, 1.2)).easing(cc.easeCubicActionIn()), cc
									.moveBy(2.8, r.default.getRandomNum(0, -300) * i, 0), cc
									.rotateBy(2, r.default.getRandomNum(360, 720) * (2 *
										Math.round(Math.random()) - 1)), cc.sequence(cc
										.moveBy(2 * (.1 * Math.random() + .3), (25 * Math
											.random() + 25) * (2 * Math.round(Math
											.random()) - 1), 0), cc.moveBy(2 * (.1 * Math
												.random() + .3), (25 * Math.random() + 25) *
											(2 * Math.round(Math.random()) - 1), 0), cc
										.moveBy(2 * (.1 * Math.random() + .3), (25 * Math
											.random() + 25) * (2 * Math.round(Math
											.random()) - 1), 0))), cc.removeSelf()))
							}
						}
					}, t.prototype.NextLevel = function() {
						this.levelnum++, s.levelnum = this.levelnum, s.setData(), c.gameScore = this
							.levelnum, h.gameOverShowText(c.gameScore, 1), this.successPanel.active = !
							0, this.successPanel.getComponent("SuccessPanel").Show()
					}, t.prototype.BeltMove = function(e, t, n) {
						for (var i = 0; i < e.length; i++) {
							e[i].y -= t * n
						}
					}, t.prototype.checkBgReset = function(e, t) {
						if (e[0].getBoundingBox().yMax <= -this.gameHeight / 2) {
							var n = e.shift();
							e.push(n);
							var i = e[0];
							n.y = i.y + t
						}
					}, t.prototype.update = function(e) {}, o([g(cc.Node)], t.prototype, "canvas",
						void 0), o([g(cc.Node)], t.prototype, "xsyd", void 0), o([g(cc.Node)], t
						.prototype, "camera", void 0), o([g(cc.Node)], t.prototype, "gameScore",
					void 0), o([g(cc.Node)], t.prototype, "bgLayer", void 0), o([g(cc.Node)], t
						.prototype, "successPanel", void 0), o([g(cc.Node)], t.prototype, "ad", void 0),
					o([g([cc.SpriteFrame])], t.prototype, "robinSpres", void 0), o([g(cc.Prefab)], t
						.prototype, "robin", void 0), o([g(cc.Node)], t.prototype, "biggrid", void 0),
					o([g(cc.Button)], t.prototype, "changeBtn", void 0), o([g(cc.Node)], t.prototype,
						"stone", void 0), o([g(cc.Prefab)], t.prototype, "grid", void 0), o([g(cc
						.Prefab)], t.prototype, "gem", void 0), o([g(cc.Prefab)], t.prototype, "sx",
						void 0), o([g([cc.SpriteFrame])], t.prototype, "gemSpriteFrames", void 0), o([g(
						[cc.SpriteFrame])], t.prototype, "DeadSpriteFrames", void 0), o([g([cc
						.SpriteFrame
					])], t.prototype, "gridSpriteFrames", void 0), o([g([cc.SpriteFrame])], t.prototype,
						"sxSpriteFrames", void 0), o([g(cc.Node)], t.prototype, "overPanel", void 0), o(
						[g(cc.Prefab)], t.prototype, "circle", void 0), o([g(cc.Node)], t.prototype,
						"ld", void 0), t = o([u], t)
			}(cc.Component);
		n.default = d, cc._RF.pop()
	}, {
		"../MainManage": "MainManage",
		"../MyScripts/GameData": "GameData",
		"../commonJs/GameConfig": "GameConfig",
		"./Interface": "Interface",
		"./Util": "Util"
	}],
	GameUiTools: [function(e, t, n) {
		"use strict";
		cc._RF.push(t, "b21e8tF461OFalpptyeuAE2", "GameUiTools");
		var i = {
			newSprite: function(e, t) {
				var n = new cc.Node;
				return t ? (e = e.split(".")[0], n.addComponent(cc.Sprite).spriteFrame =
					GameTools.love2048FrameCache.getSpriteFrame(e)) : n.addComponent(cc
					.Sprite).spriteFrame = new cc.SpriteFrame("res/raw-assets/resources/" +
					e), n
			},
			setNodeSpriteFrame: function(e, t) {
				e.getComponent(cc.Sprite).spriteFrame = GameTools.love2048FrameCache
					.getSpriteFrame(t)
			},
			setButtonClickEvents: function(e, t, n, i, o) {
				var r = new Array;
				void 0 == t.length ? r[0] = t : r = t;
				for (var a = 0; a < r.length; a++) {
					var c = new cc.Component.EventHandler;
					c.target = e.node, c.component = e.node.name, c.handler = n, void 0 == t
						.length ? c.customEventData = i : c.customEventData = a;
					var s = r[a].addComponent(cc.Button);
					s.clickEvents.push(c), (void 0 == o || o) && (s.transition = cc.Button
						.Transition.SCALE, s.duration = .1, s.zoomScale = 1.2)
				}
			},
			scheduleOnce: function(e, t, n) {
				e.runAction(cc.sequence(cc.delayTime(n), cc.callFunc(t, e)))
			},
			loadingScene: function(e, t) {
				t ? cc.loader.loadRes("panel/LoadingLayer", function(t, n) {
					var i = cc.instantiate(n);
					cc.director.getScene().children[0].addChild(i), cc.director
						.preloadScene(e, function() {
							cc.director.loadScene(e)
						})
				}) : cc.director.preloadScene(e, function() {
					cc.director.loadScene(e)
				})
			},
			loadingLayer: function(e) {
				cc.loader.loadRes(e, function(e, t) {
					if (!e) {
						var n = cc.instantiate(t);
						cc.director.getScene().children[0].addChild(n, 100)
					}
				})
			}
		};
		t.exports = i, cc._RF.pop()
	}, {}],
	Gem: [function(e, t, n) {
		"use strict";
		cc._RF.push(t, "b9a2fMonipGQYU4Trv4St3S", "Gem");
		var i = this && this.__extends || function() {
				var e = function(t, n) {
					return (e = Object.setPrototypeOf || {
							__proto__: []
						}
						instanceof Array && function(e, t) {
							e.__proto__ = t
						} || function(e, t) {
							for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
						})(t, n)
				};
				return function(t, n) {
					function i() {
						this.constructor = t
					}
					e(t, n), t.prototype = null === n ? Object.create(n) : (i.prototype = n
						.prototype, new i)
				}
			}(),
			o = this && this.__decorate || function(e, t, n, i) {
				var o, r = arguments.length,
					a = r < 3 ? t : null === i ? i = Object.getOwnPropertyDescriptor(t, n) : i;
				if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) a = Reflect
					.decorate(e, t, n, i);
				else
					for (var c = e.length - 1; c >= 0; c--)(o = e[c]) && (a = (r < 3 ? o(a) : r > 3 ? o(
						t, n, a) : o(t, n)) || a);
				return r > 3 && a && Object.defineProperty(t, n, a), a
			};
		Object.defineProperty(n, "__esModule", {
			value: !0
		});
		var r = cc._decorator,
			a = r.ccclass,
			c = r.property,
			s = function(e) {
				function t() {
					var t = null !== e && e.apply(this, arguments) || this;
					return t.type = 0, t.level = null, t
				}
				return i(t, e), t.prototype.onLoad = function() {}, t.prototype.start = function() {}, t
					.prototype.SetSize = function(e) {
						var t = e / 114;
						this.node.setContentSize(e, e);
						var n = this.node.getChildByName("spr");
						n.width *= .7 * t, n.height *= .7 * t, n.setPosition(0, -this.node.height / 2 +
								(this.node.height - n.height) / 2 + 3), this.level.string = this.type
							.toString(), this.level.node.setPosition(this.node.width / 2 - 5, -this.node
								.height / 2 + 15)
					}, t.prototype.SetSpr = function(e) {
						this.node.getChildByName("spr").getComponent(cc.Sprite).spriteFrame = e
					}, t.prototype.UpLevel = function(e, t, n) {
						this.type = t, this.SetSpr(e), this.SetSize(n)
					}, o([c(cc.Label)], t.prototype, "level", void 0), t = o([a], t)
			}(cc.Component);
		n.default = s, cc._RF.pop()
	}, {}],
	Grid: [function(e, t, n) {
		"use strict";
		cc._RF.push(t, "64f6cnzV9lJMLFVuxq9cJTP", "Grid");
		var i = this && this.__extends || function() {
				var e = function(t, n) {
					return (e = Object.setPrototypeOf || {
							__proto__: []
						}
						instanceof Array && function(e, t) {
							e.__proto__ = t
						} || function(e, t) {
							for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
						})(t, n)
				};
				return function(t, n) {
					function i() {
						this.constructor = t
					}
					e(t, n), t.prototype = null === n ? Object.create(n) : (i.prototype = n
						.prototype, new i)
				}
			}(),
			o = this && this.__decorate || function(e, t, n, i) {
				var o, r = arguments.length,
					a = r < 3 ? t : null === i ? i = Object.getOwnPropertyDescriptor(t, n) : i;
				if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) a = Reflect
					.decorate(e, t, n, i);
				else
					for (var c = e.length - 1; c >= 0; c--)(o = e[c]) && (a = (r < 3 ? o(a) : r > 3 ? o(
						t, n, a) : o(t, n)) || a);
				return r > 3 && a && Object.defineProperty(t, n, a), a
			};
		Object.defineProperty(n, "__esModule", {
			value: !0
		});
		var r = cc._decorator,
			a = r.ccclass,
			c = (r.property, function(e) {
				function t() {
					var t = null !== e && e.apply(this, arguments) || this;
					return t.x = 0, t.y = 0, t.ishave = !1, t.type = 0, t.gem = null, t
				}
				return i(t, e), t.prototype.start = function() {}, t = o([a], t)
			}(cc.Component));
		n.default = c, cc._RF.pop()
	}, {}],
	HttpManagerJs: [function(e, t, n) {
		"use strict";
		var i;

		function o(e, t, n) {
			return t in e ? Object.defineProperty(e, t, {
				value: n,
				enumerable: !0,
				configurable: !0,
				writable: !0
			}) : e[t] = n, e
		}
		cc._RF.push(t, "ccd62aSqQND2KN90HbAhhrH", "HttpManagerJs");
		var r = e("GameConfig"),
			a = (o(i = {
				URL: "http://g.vsane.com/Service/Share/index",
				cacheList: null,
				isBusy: null,
				req: null,
				perform: null,
				retGameId: 0
			}, "cacheList", []), o(i, "ctor", function() {}), o(i, "checkHave", function() {
				this.isBusy || this.sendOne()
			}), o(i, "httpInitUrl", function(e) {
				var t = window.location.href,
					n = t.substring(0, t.lastIndexOf("//") + 2) + window.location.host +
					"/Service/Share/index";
				this.URL = n, console.log("data", this.URL), this.retGameId = e
			}), o(i, "send", function(e, t, n, i) {
				this.cacheList.push({
					type: e,
					data: t,
					func: n,
					target: i
				}), this.isBusy || this.sendOne()
			}), o(i, "sendOne", function() {
				if (0 != this.cacheList.length) {
					this.isBusy = !0, this.perform = this.cacheList.shift(), this.req = cc
						.loader.getXMLHttpRequest(), this.req.onreadystatechange = this
						.onDataHandler.bind(this), this.req.onerror = this.onErrorHandler.bind(
							this), this.req.ontimeout = this.onTimeoutHandler.bind(this), this
						.req.timeout = 2e3, cc.log("pos", this.URL), this.req.open("POST", this
							.URL), this.req.setRequestHeader("Content-Type",
							"application/x-www-form-urlencoded;charset=UTF-8");
					var e = this.returnLanguage();
					console.log("gameIdid", this.retGameId);
					var t = this.retGameId,
						n = {
							type: this.perform.type,
							gid: t,
							mid: null,
							data: this.perform.data,
							languageType: e
						},
						i = "send=" + JSON.stringify(n);
					this.req.send(i)
				}
			}), o(i, "onDataHandler", function() {
				if (404 != this.req.status) {
					if (4 == this.req.readyState && this.req.status >= 200 && this.req.status <=
						207 && this.req.responseText) {
						var e = JSON.parse(this.req.responseText);
						this.isBusy = !1, this.perform.target ? this.perform.func.call(this
								.perform.target, e.error, e.data, e.commendGame, e.gameInfo) :
							this.perform.func(e)
					}
				} else {
					var t = r.launchScene,
						n = r.Bros;
					r.caS;
					cc.director.loadScene(t, null, function() {
						if (n) {
							"";
							var e = document.getElementById("GameDiv");
							e && (e.style.backgroundImage = "")
						}
						cc.loader.onProgress = null, console.log(
							"Success to load scene: " + t)
					})
				}
			}), o(i, "returnLanguage", function() {
				return ("" + window.navigator.language).toLocaleLowerCase()
			}), o(i, "onErrorHandler", function() {
				cc.log("\u7f51\u7edc\u9519\u8bef"), this.isBusy = !1, this.perform.target ? this
					.perform.func.call(this.perform.target, -1) : this.perform.func(-1)
			}), o(i, "onTimeoutHandler", function() {
				cc.log("\u8bf7\u6c42\u8d85\u65f6"), this.isBusy = !1, this.perform.target ? this
					.perform.func.call(this.perform.target, -1) : this.perform.func(-1)
			}), o(i, "clearAll", function() {
				for (var e = this.cacheList.length, t = 0; t < e; t++) {
					var n = this.cacheList[t];
					n && (n.target ? n.func.call(n.target, -1) : n.func(-1))
				}
				this.cacheList.length = 0
			}), i);
		t.exports = a, cc._RF.pop()
	}, {
		GameConfig: "GameConfig"
	}],
	Interface: [function(e, t, n) {
		"use strict";
		cc._RF.push(t, "0ab58oKWF9IGKr9xvaDPZJH", "Interface"), Object.defineProperty(n, "__esModule", {
				value: !0
			}),
			function(e) {
				e.TOUCHEND_SHOOT = "shoot", e.TOUCHED_START = "touch_start", e.TOUCHED_END =
					"touch_end", e.NEWARROW_COMPLETE = "newarrow_complete", e.HTI_GROUND = "hit_ground",
					e.HTI_OBSTACLE = "hit_obstacle", e.EAT_PROP = "eat_prop"
			}(n.EVENT || (n.EVENT = {})), cc._RF.pop()
	}, {}],
	LanguageSetJs: [function(e, t, n) {
		"use strict";
		cc._RF.push(t, "4754e8KuPZJCqklCNyKpG29", "LanguageSetJs");
		t.exports = {
			language_1: {
				game_name: "\u300c\u751c\u54c1\u5c4b\u300d",
				game_name1: "\u751c\u54c1\u5c4b",
				game_info: "\u628a\u63e1\u65f6\u673a\uff0c\u5c04\u4e2d\u82f9\u679c\u3002",
				txtStart: "\u5f00\u59cb",
				txtMore: "\u66f4\u591a\u6e38\u620f",
				txtAgain: "\u518d\u73a9\u4e00\u6b21",
				txtShare1: "\u5728\u6e38\u620f\u4e2d ",
				txtShare2: "\u5f97\u5206\u4e86\uff0c\u597d\u554a!\u4f60\u548c\u6211\u4e00\u8d77\u6765\u6bd4\u8d5b!",
				bgRgb: "#3698C5",
				gameT1: "\u5173\u6ce8\u6211\u4eec",
				gameT2: "\u7eb8\u724c\u63a5\u9f99",
				gameT3: "\u9526\u4e0a\u6dfb\u82b1",
				gameUrl1: "http://g.regogame.com/game/9/",
				gameUrl2: "http://g.regogame.com/game/3/",
				gameT11: "\u5173\u6ce8\u5fae\u4fe1",
				gameT12: "\u5173\u6ce8Kakao",
				gameT13: "\u5173\u6ce8Line",
				gameEndL: "\u6e38 \u620f \u7ed3 \u675f",
				gameEndL1: "\u7a0d \u5019 \u67e5 \u770b \u5206 \u6570"
			},
			language_2: {
				game_name: "\u300cShot Apples\u300d",
				game_name1: "Shot Apples",
				game_info: "Seize the opportunity and shoot the apple.",
				txtStart: "Start",
				txtMore: "More Game",
				txtAgain: "Play Again",
				txtShare1: "In Game ",
				txtShare2: " Let's play together!",
				bgRgb: "#3698C5",
				gameT1: "Follow Us",
				gameT2: "Thousand Flower",
				gameT3: "Eliminate Star",
				gameUrl1: "http://g.fromgame.com/game/53",
				gameUrl2: "http://g.fromgame.com/game/13",
				gameT11: "Focus WeChat",
				gameT12: "Focus Kakao",
				gameT13: "Focus Line",
				gameEndL: "Game OVer",
				gameEndL1: "View the score later"
			}
		}, cc._RF.pop()
	}, {}],
	LoadSceneJs: [function(e, t, n) {
		"use strict";
		cc._RF.push(t, "3ef908fwfNIwJsOjET8tCh2", "LoadSceneJs");
		var i = {
			goToCover: function(e, t, n, i, o) {
				var r = e;
				r = null == r || void 0 == r || e, console.log("LoadBoolBeforeLoadS", r), this
					.needShow = !1, r && r ? (this.needShow = !0, showMyAds()) : this
					.needShow = !1, this.needShow ? (void 0 == preloader && this.startGoToGame(
							n, i, o), resCompleteFlag = !0, adCompleteFlag && resCompleteFlag &&
						this.startGoToGame(n, i, o)) : this.startGoToGame(n, i, o)
			},
			startGoToGame: function(e, t, n) {
				console.log("goToScene")
			}
		};
		t.exports = i, cc._RF.pop()
	}, {}],
	MainGameJS: [function(e, t, n) {
		"use strict";
		cc._RF.push(t, "0e7a8SkMLxEY7nCB1Bqi8WZ", "MainGameJS");
		var i = e("MainManage"),
			o = e("GameUiTools"),
			r = e("GameConfig");
		cc.Class({
			extends: cc.Component,
			properties: {
				gameEndLay: cc.Node,
				startBgNode: cc.Node,
				sceneScore: cc.Label,
				gameOverT1: cc.Label,
				gameOverT2: cc.Label
			},
			onLoad: function() {
				this.timer = 0, this.gameOveEndBool = !1, this.gameOverNum = 0, this
					.gameWidth = cc.winSize.width, this.gameHeight = cc.winSize.height, this
					.gameisover = !1, r.playNum, r.playNum++, o.loadingLayer(
						"panel/LinkIconSpr"), r.publicGameBool && i.init(), this.play()
			},
			start: function() {},
			play: function() {
				console.log(1);
				var e = this;
			},
			enableButtons: function() {},
			gameEnd: function() {
				location.reload()
				this.gameisover || (this.gameisover = !0, console.log(
						"\u6e38\u620f\u7ed3\u675f"), cc.find("Canvas/gameScore")
					.runAction(cc.moveBy(.1, cc.v2(0, 300))), r.GAME_OVER_BOOL = !1, i
					.gameOverShowText(r.gameScore, 1), this.node.runAction(cc.sequence(
						cc.delayTime(.8), cc.callFunc(this.gameEnd1.bind(this)))))
			},
			gameEnd1: function() {
				this.gameOveEndBool = !0, this.initEndLayer()
			},
			initEndLayer: function() {
				i.showGameEndLayer1()
			},
			update: function(e) {
				this.gameOverGoToOVer()
			},
			gameOverGoToOVer: function() {
				this.gameOveEndBool && (this.gameOverNum++, this.gameOverNum >= 900 && (this
					.gameOverNum = 0, this.gameOveEndBool = !1))
			}
		}), cc._RF.pop()
	}, {
		GameConfig: "GameConfig",
		GameUiTools: "GameUiTools",
		MainManage: "MainManage"
	}],
	MainManage: [function(e, t, n) {
		"use strict";
		cc._RF.push(t, "3e43byN1JVCEJ/COZm+jnX8", "MainManage");
		var i = e("HttpManagerJs"),
			o = e("LanguageSetJs"),
			r = e("GameConfig"),
			a = e("LoadSceneJs"),
			c = e("GameUiTools"),
			s = {
				gameHttpId: 0,
				subScoreHttp: null,
				gameNameText: null,
				gameInfoText: null,
				txtStartText: null,
				txtMoreText: null,
				txtAgainText: null,
				gameEndLText: null,
				gameEndL1Text: null,
				bgLayRgb: null,
				gameEndName1: null,
				gameEndName2: null,
				gameEndUrl1: null,
				gameEndUrl2: null,
				langugeType: 1,
				ranLinkData: null,
				adShowBefore: !1,
				adShowAfter: !0,
				endLayCol: null,
				moreBtnBgCol: null,
				moreBtnTextCol: null,
				recGameData: null,
				recGameUrl: null,
				recGameDelPau: null,
				recGameDelPer: null,
				recGameimg1: null,
				recGameimg2: null,
				recGamePos: null,
				InfoData: null,
				endShow0: null,
				endShow1: null,
				endShow2: null,
				endShow3: null,
				infoGameName: null,
				showText: null,
				startText: null,
				moreGameText: null,
				playAgainText: null,
				endHttpShowInfo: null,
				moreGameUrl: null,
				init: function(e, t, n) {
					r.launchScene = e, r.Bros = t, r.caS = n, this.curType = 1, this
					.getHttpGameId(), this.gamePV_load(), console.log("thisg", this.gameHttpId), i
						.httpInitUrl(this.gameHttpId), i.send("101", null, this.getLinkGameReturn,
							this);
					var o = this.initLanguage();
					this.gameNameText = o.game_name, this.gameInfoText = o.game_info, this
						.txtStartText = o.txtStart, this.txtMoreText = o.txtMore, this
						.txtAgainText = o.txtAgain, this.gameEndLText = o.gameEndL, this
						.gameEndL1Text = o.gameEndL1, this.bgLayRgb = o.bgRgb, this.gameEndName1 = o
						.gameT2, this.gameEndName2 = o.gameT3, this.gameEndUrl1 = o.gameUrl1, this
						.gameEndUrl2 = o.gameUrl2, this.langugeType = this.curType
				},
				getHttpGameId: function() {
					var e = window.location.href,
						t = e.substring(0, e.lastIndexOf("//") + 2),
						n = window.location.host,
						i = t + n + "/Service/Share/index";
					this.gameAllHttp = i, cc.log("gameAll", this.gameAllHttp), this.subScoreHttp =
						t + n + "/Service/Score/index", this.gamePvHttp = t + n +
						"/Service/GamePv/index";
					var o = document.URL,
						r = o.lastIndexOf("/"),
						a = o.substring(0, r),
						c = (r = a.lastIndexOf("/"), a.substring(r + 1, a.length));
					this.gameHttpId = c, console.log("gameIdNew", c);
					e.substring(e.lastIndexOf("//") + 4, e.lastIndexOf("com") + 3);
					this.moreGameUrl = t + n, console.log("moreGame", this.moreGameUrl)
				},
				gameOverShowText: function(e, t) {
					this.ajaxLoad(this.subScoreHttp, "gameScore=" + e + "&gameId=" + this
						.gameHttpId + "&gameType=" + t, this.scoreResult)
				},
				gamePV_load: function() {
					this.ajaxLoad(this.gamePvHttp, "gameId=" + this.gameHttpId, this
						.ajaxOnLogoResult)
				},
				ajaxOnLogoResult: function() {},
				ajaxLoad: function(e, t, n) {
					var i = cc.loader.getXMLHttpRequest();
					i.onreadystatechange = n, i.open("POST", e), i.setRequestHeader("Content-Type",
						"application/x-www-form-urlencoded"), i.send(t)
				},
				scoreResult: function(e) {
					if (null != e.currentTarget.response && "" != e.currentTarget.response) {
						var t = JSON.parse(e.currentTarget.response);
						cc.log("endshow", t.content), s.endHttpShowInfo = t.content
					}
				},
				initLanguage: function() {
					var e = null;
					return cc.sys.language == cc.sys.LANGUAGE_CHINESE ? (this.curType = 1, e = o
						.language_1) : (cc.log("\u82f1\u6587"), this.curType = 2, e = o
						.language_2), e
				},
				getLinkGameReturn: function(e, t, n, i) {
					if (console.log("err0", e), console.log("err1", t), console.log("err2", n),
						console.log("err3", i), 0 == e) {
						this.ranLinkData = t, this.adShowBefore = this.ranLinkData.gameSet
							.adShowBefore, this.adShowAfter = this.ranLinkData.gameSet.adShowAfter,
							this.endLayCol = this.ranLinkData.gameSet.endLayerColor, this
							.moreBtnBgCol = this.ranLinkData.gameSet.moreBtnBgCol, this
							.moreBtnTextCol = this.ranLinkData.gameSet.moreBtnTextCol, this
							.moreGameUrl = this.ranLinkData.gameSet.moreBtnUrl, this.recGameData =
							n, this.ranRecGameData(), this.InfoData = i, this.endShow0 = this
							.InfoData.endShow0, this.endShow1 = this.InfoData.endShow1, this
							.endShow2 = this.InfoData.endShow2, this.endShow3 = this.InfoData
							.endShow3, this.infoGameName = this.InfoData.gameName, this.showText =
							this.InfoData.showText, this.startText = this.InfoData.startText, this
							.moreGameText = this.InfoData.moreGame, this.playAgainText = this
							.InfoData.rePlay, this.gameInfoText = this.InfoData.showText, this
							.txtStartText = this.InfoData.startText, this.txtMoreText = this
							.InfoData.moreGame, this.txtAgainText = this.InfoData.rePlay, console
							.log("LoadMainGameScnee");
						var o = r.launchScene,
							c = r.Bros,
							s = r.caS;
						a.goToCover(this.adShowBefore, this.adShowAfter, o, c, s)
					}
				},
				ranRecGameData: function() {
					if (null != this.recGameData && "" != this.recGameData) {
						this.returnBool = !1;
						var e = this.recGameData.length,
							t = r.returnRanNum(1, e) - 1;
						cc.log("ranNNN", t), this.recGameUrl = this.recGameData[t].data_link, this
							.recGameDelPer = this.recGameData[t].delay_per, this.recGameDelPau =
							this.recGameData[t].delay_pau, this.recGameimg1 = this.recGameData[t]
							.img_1, this.recGameimg2 = this.recGameData[t].img_2, this.recGamePos =
							this.recGameData[t].poistion
					}
				},
				ranLinkUrl: function() {
					if (null != this.ranLinkData && this.ranLinkData.gameList && null != this
						.ranLinkData.gameList) {
						var e = this.ranLinkData.gameList.length,
							t = r.returnRanNum(1, e) - 1;
						return cc.log("templ", t, this.ranLinkData.gameList), cc.log("url", this
							.ranLinkData.gameList[0].gameName, this.ranLinkData.gameList[0]
							.gameUrl), t
					}
					return null
				},
				gotoEndLayer: function() {
					if (!r.publicGameBool) {
						if (adEndComplete = !1, resEndComplete = !1, this.needShow = null, 1 ==
							window.navigator.onLine) {
							var e = this.adShowAfter;
							console.log("ad", e), (e = null == e || void 0 == e || this
								.adShowAfter) ? (this.needShow = !0, console.log("showMyad"),
									showMyAds()) : this.needShow = !1
						} else console.log("showOver1"), this.needShow = null;
						console.log("showMyad2", this.needShow), null != this.needShow && (console
							.log("showMyad3"), this.needShow ? (console.log("pre", preloader),
								preloader, resEndComplete = !0, adEndComplete &&
								resEndComplete && console.log("showOver1")) : console.log("gam")
							)
					}
				},
				showGameEndLayer: function() {},
				showGameEndLayer1: function() {
					c.loadingLayer("panel/NewGameOverLayer")
				}
			};
		t.exports = s, cc._RF.pop()
	}, {
		GameConfig: "GameConfig",
		GameUiTools: "GameUiTools",
		HttpManagerJs: "HttpManagerJs",
		LanguageSetJs: "LanguageSetJs",
		LoadSceneJs: "LoadSceneJs"
	}],
	PlayMusic: [function(e, t, n) {
		"use strict";
		cc._RF.push(t, "9907dBgiiNFZYl/YFftMS/a", "PlayMusic");
		var i = e("GameConfig");
		cc.Class({
			extends: cc.Component,
			properties: {
				palying: !1,
				ColideBall: {
					default: null,
					type: cc.AudioClip
				},
				ColideBrick: {
					default: null,
					type: cc.AudioClip
				},
				ColideWood: {
					default: null,
					type: cc.AudioClip
				},
				EatLj: {
					default: null,
					type: cc.AudioClip
				},
				Bgm: {
					default: null,
					type: cc.AudioClip
				},
				Dead: {
					default: null,
					type: cc.AudioClip
				},
				Touch: {
					default: null,
					type: cc.AudioClip
				},
				Star: {
					default: null,
					type: cc.AudioClip
				},
				Mixture: [cc.AudioClip]
			},
			PlayMixture: function(e) {
				e > this.Mixture.length && (e = this.Mixture.length), cc.audioEngine.play(
					this.Mixture[e - 1], !1, 1)
			},
			PlayTouch: function() {
				var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : .3;
				cc.audioEngine.play(this.Touch, !1, e)
			},
			PlayColideBall: function() {
				cc.audioEngine.play(this.ColideBall, !1, .5)
			},
			PlayColideBrick: function() {
				cc.audioEngine.play(this.ColideBrick, !1, .5)
			},
			PlayColideWood: function() {
				cc.audioEngine.play(this.ColideWood, !1, 1)
			},
			PlayEatLj: function() {
				cc.audioEngine.play(this.EatLj, !1, 1)
			},
			PlayStar: function() {
				cc.audioEngine.play(this.Star, !1, 1)
			},
			PlayStar1: function() {
				cc.audioEngine.play(this.Star, !1, 0)
			},
			PlayDead: function() {
				cc.audioEngine.play(this.Dead, !1, .8)
			},
			StopBgm: function() {
				cc.audioEngine.stop(this.current)
			},
			PlayBgm: function() {
				i.playing || (i.playing = !0, this.current = cc.audioEngine.play(this.Bgm, !
					0, .2))
			},
			StopPQ: function() {
				cc.audioEngine.stop(this.current1)
			},
			PlayPQ: function() {
				this.current1 = cc.audioEngine.play(this.PQ, !0, .5)
			},
			onLoad: function() {
				cc.audioEngine.setEffectsVolume(.5)
			},
			start: function() {}
		}), cc._RF.pop()
	}, {
		GameConfig: "GameConfig"
	}],
	PoolManager: [function(e, t, n) {
		"use strict";
		cc._RF.push(t, "8751ddRo3VI/ZMPqS/tFWP3", "PoolManager");
		var i = this && this.__extends || function() {
				var e = function(t, n) {
					return (e = Object.setPrototypeOf || {
							__proto__: []
						}
						instanceof Array && function(e, t) {
							e.__proto__ = t
						} || function(e, t) {
							for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
						})(t, n)
				};
				return function(t, n) {
					function i() {
						this.constructor = t
					}
					e(t, n), t.prototype = null === n ? Object.create(n) : (i.prototype = n
						.prototype, new i)
				}
			}(),
			o = this && this.__decorate || function(e, t, n, i) {
				var o, r = arguments.length,
					a = r < 3 ? t : null === i ? i = Object.getOwnPropertyDescriptor(t, n) : i;
				if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) a = Reflect
					.decorate(e, t, n, i);
				else
					for (var c = e.length - 1; c >= 0; c--)(o = e[c]) && (a = (r < 3 ? o(a) : r > 3 ? o(
						t, n, a) : o(t, n)) || a);
				return r > 3 && a && Object.defineProperty(t, n, a), a
			};
		Object.defineProperty(n, "__esModule", {
			value: !0
		});
		var r = cc._decorator,
			a = r.ccclass,
			c = r.property,
			s = function(e) {
				function t() {
					var t = null !== e && e.apply(this, arguments) || this;
					return t.allPrefab = [], t.allPrefabMap = null, t.poolMap = null, t
				}
				var n;
				return i(t, e), n = t, t.prototype.onLoad = function() {
						null != n.Instance && n.Instance.destroy(), n.Instance = this, this
							.allPrefabMap = new Map, this.poolMap = new Map;
						for (var e = 0; e < this.allPrefab.length; e++) {
							this.allPrefabMap.set(this.allPrefab[e].name, this.allPrefab[e]), cc.log(
								this.allPrefab[e].name);
							var t = new cc.NodePool;
							this.poolMap.set(this.allPrefab[e].name, t)
						}
					}, t.Spawn = function(e, t) {
						if (void 0 === t && (t = null), !n.Instance.poolMap.has(e)) return cc.warn(
							"no prefab named " + e), null;
						var i = n.Instance.poolMap.get(e);
						if (i.size() > 0) {
							var o = i.get();
							return null != t && (o.parent = t), o
						}
						var r = cc.instantiate(n.Instance.allPrefabMap.get(e));
						return null != t && (r.parent = t), r
					}, t.Despawn = function(e, t) {
						if (!n.Instance.poolMap.has(e)) return cc.log(
							"\u56de\u6536\u5931\u8d25,\u8282\u70b9\u540d : " + e), null;
						n.Instance.poolMap.get(e).put(t)
					}, t.GetPrefab = function(e) {
						return n.Instance.allPrefabMap.has(e) ? n.Instance.allPrefabMap.get(e) : null
					}, t.Preload = function(e, t) {
						if (!n.Instance.poolMap.has(e)) return null;
						for (var i = n.Instance.poolMap.get(e), o = 0; o < t; o++) {
							var r = cc.instantiate(n.Instance.allPrefabMap.get(e));
							i.put(r)
						}
					}, t.Instance = null, o([c([cc.Prefab])], t.prototype, "allPrefab", void 0), t = n =
					o([a], t)
			}(cc.Component);
		n.default = s, cc._RF.pop()
	}, {}],
	Shake: [function(e, t, n) {
		"use strict";
		cc._RF.push(t, "7eea7AmqT5HZIkWJ15eXOV1", "Shake");
		var i = cc.ActionInterval.extend({
			targetNode: cc.Node,
			nodeInitialPos: null,
			nodeShakeStrengthX: 0,
			nodeShakeStrengthY: 0,
			xOffset: 0,
			yOffset: 0,
			duration: 0,
			ctor: function(e, t, n) {
				this.duration = e, this.initWithDuration(e, t, n)
			},
			getRandomStrength: function(e, t) {
				return Math.random() * (t - e + 1) + e
			},
			update: function(e) {
				var t = this.getRandomStrength(-this.nodeShakeStrengthX, this
						.nodeShakeStrengthX) * cc.director.getDeltaTime(),
					n = this.getRandomStrength(-this.nodeShakeStrengthY, this
						.nodeShakeStrengthY) * cc.director.getDeltaTime();
				this.xOffset += t, this.yOffset += n, this.target.setPosition(this.target
					.position.add(cc.v2(t, n)))
			},
			initWithDuration: function(e, t, n) {
				return !!cc.ActionInterval.prototype.initWithDuration.call(this, e) && (this
					.nodeShakeStrengthX = t, this.nodeShakeStrengthY = "undefined" ==
					n ? t : n, !0)
			},
			startWithTarget: function(e) {
				cc.ActionInterval.prototype.startWithTarget.call(this, e), this
					.nodeInitialPos = e.getPosition(), this.target = e, this.xOffset = 0,
					this.yOffset = 0
			},
			stop: function() {
				this.target.setPosition(this.target.position.add(cc.v2(-this.xOffset, -this
					.yOffset)))
			}
		});
		cc.shake = function(e, t, n) {
			return new i(e, t, n)
		}, cc._RF.pop()
	}, {}],
	SuccessPanel: [function(e, t, n) {
		"use strict";
		cc._RF.push(t, "5d77eQfUJZJbIuQlBl1zgWd", "SuccessPanel");
		var i = this && this.__extends || function() {
				var e = function(t, n) {
					return (e = Object.setPrototypeOf || {
							__proto__: []
						}
						instanceof Array && function(e, t) {
							e.__proto__ = t
						} || function(e, t) {
							for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
						})(t, n)
				};
				return function(t, n) {
					function i() {
						this.constructor = t
					}
					e(t, n), t.prototype = null === n ? Object.create(n) : (i.prototype = n
						.prototype, new i)
				}
			}(),
			o = this && this.__decorate || function(e, t, n, i) {
				var o, r = arguments.length,
					a = r < 3 ? t : null === i ? i = Object.getOwnPropertyDescriptor(t, n) : i;
				if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) a = Reflect
					.decorate(e, t, n, i);
				else
					for (var c = e.length - 1; c >= 0; c--)(o = e[c]) && (a = (r < 3 ? o(a) : r > 3 ? o(
						t, n, a) : o(t, n)) || a);
				return r > 3 && a && Object.defineProperty(t, n, a), a
			};
		Object.defineProperty(n, "__esModule", {
			value: !0
		});
		var r = e("../commonJs/GameUiTools"),
			a = e("../MainManage"),
			c = cc._decorator,
			s = c.ccclass,
			h = c.property,
			l = function(e) {
				function t() {
					var t = null !== e && e.apply(this, arguments) || this;
					return t.canvas = null, t.bg = null, t.panel = null, t.di = null, t.num = null, t
						.guan = null, t.djjx = null, t.gameWidth = 0, t.gameHeight = 0, t.gameLayer =
						null, t.di1 = null, t.con = null, t.guan1 = null, t
				}
				return i(t, e), t.prototype.onLoad = function() {
						this.gameLayer = cc.find("Canvas/GameLayer"), this.gameWidth = cc.winSize.width,
							this.gameHeight = cc.winSize.height, this.djjx.active = !1, this.node
							.setContentSize(this.gameWidth, this.gameHeight);
						var e = this.gameLayer.getComponent("GameLayer").levelnum,
							t = 67 * e.toString().length;
						if (this.num.string = e.toString(), this.num.node.x = 0, this.di.x = -(t + this
								.di.width) / 2 - 40, this.guan.x = (t + this.guan.width) / 2 + 40, this
							.panel.setPosition(0, this.gameHeight / 2 + this.panel.height / 2), this
							.node.on("touchstart", this._touchStart, this), this.node.active = !1, 1 ==
							a.langugeType);
						else {
							this.djjx.getComponent(cc.Label).string = "", this.djjx.getChildByName(
									"continue").active = !0, this.di.active = !1, this.guan.active = !1,
								this.panel.getChildByName("27").active = !1, this.di1.active = !0, this
								.guan1.active = !0, this.con.active = !0;
							var n = 60 * e.toString().length;
							this.num.string = e.toString();
							var i = this.di1.width + n + this.guan1.width + 40,
								o = (this.panel.width - i) / 2;
							this.di1.x = -this.panel.width / 2 + o + 10, this.guan1.x = this.di1.x +
								this.di1.width + 10, this.num.node.x = this.guan1.x + this.guan1.width +
								20
						}
					}, t.prototype._touchStart = function(e) {
						r.loadingScene("MainGameScene")
					}, t.prototype.Show = function() {
						var e = this;
						this.node.setPosition(0, 0), this.panel.runAction(cc.sequence(cc.moveTo(1, 0,
							150).easing(cc.easeBackOut()), cc.callFunc(function() {
							e.djjx.y = e.panel.y - e.panel.height / 2 - 300, e.djjx
								.active = !0;
							var t = cc.repeatForever(cc.sequence(cc.fadeOut(1), cc
								.fadeIn(1)));
							e.djjx.runAction(t)
						}, this)))
					}, t.prototype.start = function() {}, o([h(cc.Node)], t.prototype, "canvas",
					void 0), o([h(cc.Node)], t.prototype, "bg", void 0), o([h(cc.Node)], t.prototype,
						"panel", void 0), o([h(cc.Node)], t.prototype, "di", void 0), o([h(cc.Label)], t
						.prototype, "num", void 0), o([h(cc.Node)], t.prototype, "guan", void 0), o([h(
						cc.Node)], t.prototype, "djjx", void 0), o([h(cc.Node)], t.prototype, "di1",
						void 0), o([h(cc.Node)], t.prototype, "con", void 0), o([h(cc.Node)], t
						.prototype, "guan1", void 0), t = o([s], t)
			}(cc.Component);
		n.default = l, cc._RF.pop()
	}, {
		"../MainManage": "MainManage",
		"../commonJs/GameUiTools": "GameUiTools"
	}],
	TestClass: [function(e, t, n) {
		"use strict";
		cc._RF.push(t, "929caVwWN9OGK0itAJtszxa", "TestClass");
		var i = this && this.__decorate || function(e, t, n, i) {
			var o, r = arguments.length,
				a = r < 3 ? t : null === i ? i = Object.getOwnPropertyDescriptor(t, n) : i;
			if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) a = Reflect
				.decorate(e, t, n, i);
			else
				for (var c = e.length - 1; c >= 0; c--)(o = e[c]) && (a = (r < 3 ? o(a) : r > 3 ? o(
					t, n, a) : o(t, n)) || a);
			return r > 3 && a && Object.defineProperty(t, n, a), a
		};
		Object.defineProperty(n, "__esModule", {
			value: !0
		});
		var o = cc._decorator,
			r = o.ccclass,
			a = o.property,
			c = function() {
				function e() {
					this.nickName = "\u5927\u638c\u6559", this.qGroup = 704391772
				}
				return i([a({
					displayName: "\u6635\u79f0"
				})], e.prototype, "nickName", void 0), i([a({
					displayName: "Q\u7fa4"
				})], e.prototype, "qGroup", void 0), e = i([r("Player")], e)
			}();
		n.default = c, cc._RF.pop()
	}, {}],
	ToolsJs: [function(e, t, n) {
		"use strict";
		cc._RF.push(t, "d69ae2JvK5Pw40w1ido1u1o", "ToolsJs");
		var i = {
			SpriteFrameJs: null,
			AudioArrJs: null,
			setStorage: function(e, t, n) {
				CC_WECHATGAME ? wx.setStorage({
					key: e,
					data: t
				}) : (n && (t = JSON.stringify(t)), cc.sys.localStorage.setItem(e, t))
			},
			getStorage: function(e, t) {
				if (CC_WECHATGAME) return wx.getStorageSync(e);
				var n = cc.sys.localStorage.getItem(e);
				return isNaN(n) || (n = parseInt(n)), "NaN" == n.toString() && (n = null), t &&
					null != n && (n = JSON.parse(n)), n
			},
			logJsonObject: function(e) {
				console.log(JSON.stringify(e))
			},
			loadJson: function(e, t) {},
			writeJson: function(e, t) {
				if (cc.sys.isBrowser) {
					console.log("\u6d4f\u89c8\u5668");
					var n = new Blob([e], {
							type: "application/json"
						}),
						i = document.createElement("a");
					i.download = t, i.innerHTML = "Download File", null != window.webkitURL ? i
						.href = window.webkitURL.createObjectURL(n) : (i.href = window.URL
							.createObjectURL(n), i.onclick = destroyClickedElement, i.style
							.display = "none", document.body.appendChild(i)), i.click()
				}
			},
			addNoArr: function(e, t) {
				return e.indexOf(t) < 0 && (e.push(t), !0)
			},
			newSprite: function(e) {
				if (null != this.SpriteFrameJs.getSpriteFrame(e)) {
					var t = new cc.Node;
					return t.addComponent(cc.Sprite).spriteFrame = this.SpriteFrameJs
						.getSpriteFrame(e), t
				}
				return null
			},
			setTexture: function(e, t) {
				e.getComponent(cc.Sprite).spriteFrame = this.SpriteFrameJs.getSpriteFrame(t)
			},
			clonePrefabs: function(e, t, n) {
				var i = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 0,
					o = this.PrefabArrJs.getPrefabs(e);
				if (null != o) {
					var r = cc.instantiate(o);
					return null != t && t.addChild(r, i), null != n && (r.position = n), r
				}
				return console.log("\u514b\u9686\u9884\u5236\u4f53\u5931\u8d25:" + e), null
			},
			newLabel: function(e, t) {
				var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 20,
					i = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : .5,
					o = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : .5,
					r = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : 0,
					a = new cc.Node;
				a.anchorX = i, a.anchorY = o;
				var c = a.addComponent(cc.Label);
				return c.string = e, c.fontSize = n, t.addChild(a, r), a
			},
			playAudio: function(e) {
				var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : .5,
					n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2];
				return null != this.AudioArrJs ? this.AudioArrJs.playAudio(e, t, n) : cc
					.audioEngine.play(cc.url.raw("resources/music/" + e + ".mp3"), n, t)
			},
			stopAudio: function(e) {
				null != e && cc.audioEngine.stop(e)
			},
			newAduioSource: function(e) {
				var t = void 0;
				if (null != this.AudioArrJs) t = this.AudioArrJs.getAudioClip(e);
				else {
					if (null == e) return console.log("clip\u4e0d\u80fd\u4e3a\u7a7a\uff01"),
						null;
					t = e
				}
				var n = new cc.Node;
				return n.addComponent(cc.AudioSource).clip = t, n.getComponent(cc.AudioSource)
			},
			delayTimeCall: function(e, t, n, i) {
				e.runAction(cc.sequence(cc.delayTime(n), cc.callFunc(t, i)))
			},
			getDistance: function(e, t) {
				return e.sub(t).mag()
			},
			getToNodePos: function(e, t) {
				var n = e.parent.convertToWorldSpaceAR(e.position);
				return t.convertToNodeSpaceAR(n)
			},
			getToWorldPosAR: function(e) {
				return e.parent.convertToWorldSpaceAR(e.position)
			},
			getToWorldPos: function(e) {
				return e.parent.convertToWorldSpace(e.position)
			},
			isBoxContainPos: function(e, t) {
				return e.getBoundingBox().contains(t)
			},
			isBoxContainWorldPos: function(e, t) {
				return e.getBoundingBoxToWorld().contains(t)
			},
			isRectInterRect: function(e, t) {
				return e.getBoundingBoxToWorld().intersects(t.getBoundingBoxToWorld())
			},
			returnRandom: function(e, t) {
				return e + Math.floor(Math.random() * (t - e + 1))
			}
		};
		window.ToolsJs = i, cc._RF.pop()
	}, {}],
	TouchMgr: [function(e, t, n) {
		"use strict";
		cc._RF.push(t, "d136d88d8lOpIjRDjkcEz1n", "TouchMgr");
		var i = this && this.__extends || function() {
				var e = function(t, n) {
					return (e = Object.setPrototypeOf || {
							__proto__: []
						}
						instanceof Array && function(e, t) {
							e.__proto__ = t
						} || function(e, t) {
							for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
						})(t, n)
				};
				return function(t, n) {
					function i() {
						this.constructor = t
					}
					e(t, n), t.prototype = null === n ? Object.create(n) : (i.prototype = n
						.prototype, new i)
				}
			}(),
			o = this && this.__decorate || function(e, t, n, i) {
				var o, r = arguments.length,
					a = r < 3 ? t : null === i ? i = Object.getOwnPropertyDescriptor(t, n) : i;
				if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) a = Reflect
					.decorate(e, t, n, i);
				else
					for (var c = e.length - 1; c >= 0; c--)(o = e[c]) && (a = (r < 3 ? o(a) : r > 3 ? o(
						t, n, a) : o(t, n)) || a);
				return r > 3 && a && Object.defineProperty(t, n, a), a
			};
		Object.defineProperty(n, "__esModule", {
			value: !0
		});
		var r = e("./Interface"),
			a = cc._decorator,
			c = a.ccclass,
			s = (a.property, function(e) {
				function t() {
					var t = null !== e && e.apply(this, arguments) || this;
					return t.canTouch = !0, t.promptTime = 100, t.gameLayer = null, t.canvas = null,
						t
				}
				return i(t, e), t.prototype.onLoad = function() {
					this.canvas = cc.find("Canvas"), this.gameLayer = cc.find(
						"Canvas/GameLayer").getComponent("gameLayer"), this.openTouch()
				}, t.prototype.start = function() {}, t.prototype.openTouch = function() {
					this.node.on("touchstart", this._touchStart, this), this.node.on(
						"touchmove", this._touchsMove, this), this.node.on("touchend", this
						._touchEnd, this)
				}, t.prototype.closeTouch = function() {
					this.node.off("touchstart", this._touchStart, this), this.node.off(
						"touchmove", this._touchsMove, this), this.node.off("touchend", this
						._touchEnd, this)
				}, t.prototype._touchStart = function(e) {
					cc.log("touchstart"), cc.director.emit(r.EVENT.TOUCHED_START, e)
				}, t.prototype._touchsMove = function(e) {
					cc.log("touchmove")
				}, t.prototype._touchEnd = function(e) {
					cc.log("touchend"), cc.director.emit(r.EVENT.TOUCHED_END)
				}, t.prototype._touchCancel = function(e) {
					cc.log("cancel")
				}, t.prototype.update = function(e) {}, t = o([c], t)
			}(cc.Component));
		n.default = s, cc._RF.pop()
	}, {
		"./Interface": "Interface"
	}],
	Util: [function(e, t, n) {
		"use strict";
		cc._RF.push(t, "45728X8HQNOeYdCZ+5q/WY/", "Util"), Object.defineProperty(n, "__esModule", {
			value: !0
		});
		var i = function() {
			function e() {}
			return e.getRandomNum = function(e, t, n) {
				return void 0 === n && (n = !1), n ? Math.floor(Math.random() * (t - e + 1) +
					e) : Math.random() * (t - e) + e
			}, e.deleteArrItemToNode = function(e, t) {
				for (var n = 0; n < e.length; n++)
					if (e[n] === t) return void e.splice(n, 1)
			}, e.deleteArrItem = function(e, t) {
				for (var n = 0; n < e.length; n++)
					if (e[n].x == t.x && e[n].y == t.y) return void e.splice(n, 1)
			}, e.findItemIndex = function(e, t) {
				for (var n = 0; n < e.length; n++)
					if (e[n].x == t.x && e[n].y == t.y) return n
			}, e.getAngleByPoints = function(e, t) {
				var n = t.x - e.x,
					i = t.y - e.y;
				return 360 * Math.atan(i / n) / (2 * Math.PI)
			}, e.getAngle = function(e, t, n, i) {
				var o = Math.abs(e - n),
					r = Math.abs(t - i),
					a = r / Math.sqrt(Math.pow(o, 2) + Math.pow(r, 2)),
					c = Math.acos(a);
				return 180 / (Math.PI / c)
			}, e.getPointByCPAndAngleAndLen = function(e, t, n) {
				var i = t * Math.PI / 180,
					o = n * Math.cos(i),
					r = n * Math.sin(i);
				return cc.v2(e.x + r, e.y + o)
			}, e.vectorsToDegress = function(e) {
				var t = cc.v2(1, 0),
					n = e.signAngle(t);
				return cc.misc.radiansToDegrees(-n)
			}, e.degreesToVectors = function(e, t) {
				void 0 === t && (t = cc.v2(1, 0));
				var n = cc.misc.degreesToRadians(e);
				return t.rotate(n)
			}, e.getNormalizeVector = function(e, t) {
				return t.sub(e).normalize()
			}, e.getDistance = function(e, t) {
				return t.sub(e).mag()
			}, e.getMidPos = function(e, t) {
				return cc.v2((e.x + t.x) / 2, (e.y + t.y) / 2)
			}, e.convetOtherNodeSpace = function(e, t, n) {
				if (void 0 === n && (n = cc.v2(0, 0)), !e || !t) return null;
				var i = e.convertToWorldSpaceAR(n);
				return t.convertToNodeSpaceAR(i)
			}, e.calc_intersection = function(e, t, n, i, o, r, a, c) {
				var s = (t - r) * (a - o) - (e - o) * (c - r),
					h = (n - e) * (c - r) - (i - t) * (a - o);
				if (!(Math.abs(h) < 1e-30)) {
					var l = s / h,
						u = e + l * (n - e),
						g = t + l * (i - t);
					return cc.v2(u, g)
				}
			}, e.shuffle = function(e) {
				for (var t, n = e.length; n;) {
					var i = Math.floor(Math.random() * n--);
					t = [e[n], e[i]], e[i] = t[0], e[n] = t[1]
				}
				return e
			}, e.getRandomArrayElements = function(e, t) {
				for (var n, i, o = e.slice(0), r = e.length, a = r - t; r-- > a;) n = o[i = Math
					.floor((r + 1) * Math.random())], o[i] = o[r], o[r] = n;
				return o.slice(a)
			}, e.GetDifferentNumFromArr = function(e, t) {
				for (var n = this.getRandomNum(0, e.length - 1), i = n; i < e.length; i++)
					if (e[i] != t) return e[i];
				if (n > 0) {
					for (i = 0; i < n; i++)
						if (e[i] != t) return e[i];
					return null
				}
				return null
			}, e.getBezierPos = function(e, t) {
				var n = new Array,
					i = e.length;
				if (i < 2) return cc.log("\u63a7\u5236\u70b9\u6570\u4e0d\u80fd\u5c0f\u4e8e 2"),
					n;
				for (var o = this.getYangHuiTriangle(i), r = 0; r < t; r++) {
					for (var a = r / t, c = 0, s = 0, h = 0; h < i; h++) c += Math.pow(1 - a,
						i - h - 1) * e[h].x * Math.pow(a, h) * o[h], s += Math.pow(1 - a,
						i - h - 1) * e[h].y * Math.pow(a, h) * o[h];
					n[r] = new cc.Vec2(c, s)
				}
				return n
			}, e.getYangHuiTriangle = function(e) {
				var t = new Array;
				if (1 === e) t[0] = 1;
				else {
					t[0] = t[1] = 1;
					for (var n = 3; n <= e; n++) {
						for (var i = new Array, o = 0; o < n - 1; o++) i[o] = t[o];
						t[0] = t[n - 1] = 1;
						for (o = 0; o < n - 2; o++) t[o + 1] = i[o] + i[o + 1]
					}
				}
				return t
			}, e.MakeLinePoints = function(e, t, n, i, o) {
				var r = new Array(e),
					a = 0,
					c = 2 * Math.PI / e * n;
				c += Math.PI;
				for (var s = 0; s < e; s++) a = i + o * c, r[s] = cc.v2(a * Math.cos(c) + t.x,
					a * Math.sin(c) + t.y), c += 2 * Math.PI / e * n;
				return r
			}, e.GetPositiveNegative = function() {
				return [-1, 1][this.getRandomNum(0, 1, !0)]
			}, e.getPointInScreen = function() {
				return cc.v2(e.getRandomNum(-e.SCREEN_W / 2, e.SCREEN_W / 2, !1), e
					.getRandomNum(-e.SCREEN_H / 2, e.SCREEN_H / 2, !1))
			}, e.SCREEN_W = 720, e.SCREEN_H = 1280, e
		}();
		n.default = i, cc._RF.pop()
	}, {}],
	gameOverJs1: [function(e, t, n) {
		"use strict";
		cc._RF.push(t, "33c9bjmeQlE/pCbk7N7UdDD", "gameOverJs1");
		var i = e("GameData"),
			o = e("GameUiTools"),
			r = e("GameConfig"),
			a = e("MainManage");
		cc.Class({
			extends: cc.Component,
			properties: {
				bgLayer: cc.Node,
				scoreBg: cc.Node,
				overScoreT: cc.Label,
				overInfoT: cc.Label,
				moreBtn: cc.Button,
				leftBtn: cc.Button,
				rightBtn: cc.Button,
				midGameText: cc.Label,
				leftBtnText: cc.Label,
				rightBtnText: cc.Label,
				maxScoreText: cc.Label,
				panel: cc.Node,
				zgf: cc.Node,
				bestScore: cc.Label,
				djjx: cc.Node,
				di: cc.Node,
				guan: cc.Node,
				di1: cc.Node,
				guan1: cc.Node
			},
			onLoad: function() {
				i.levelnum = 1, i.setData(), this.gameLayer = cc.find("Canvas/GameLayer"), r
					.gameScore = r.gameScore, this.gameWidth = cc.winSize.width, this
					.gameHeight = cc.winSize.height, r.gameScore > i.bestScore && (i
						.bestScore = r.gameScore, i.setData()), this.standardScore = r
					.standScore, this.game_max_score = 30, this.rigthBtnGameName = null,
					this.rightBtnGameUrl = null, this.canvas = cc.find("Canvas"), this
					.UIPosChange(), this.addClickBtns();
				var e = "\u6700\u9ad8\u7eaa\u5f55:",
					t = this.returnCurrentLanType();
				e = 1 == t ? "\u6700\u9ad8\u7eaa\u5f55:" : 2 == t ?
					"\u6700\u9ad8\u7d00\u9304:" : 4 == t ? "\ucd5c\uace0 \uae30\ub85d:" :
					"Highest Record:";
				var n = r.gameScore,
					o = this.getHighScore();
				o ? o < r.gameScore && (this.setHisSocre(r.gameScore), o = r.gameScore) : (
						this.setHisSocre(r.gameScore), o = n), this.maxScoreText.string =
					e + o
			},
			returnCurrentLanType: function() {
				var e = 1;
				switch (cc.sys.language) {
					case cc.sys.LANGUAGE_CHINESE:
						"zh-TW" == window.navigator.language || "zh-tw" == window.navigator
							.language || "zh-HK" == window.navigator.language || "zh-hk" ==
							window.navigator.language ? (cc.log("\u7e41\u4f53"), e = 2) : (
								cc.log("\u7b80\u4f53"), e = 1);
						break;
					case cc.sys.LANGUAGE_KOREAN:
						e = 4;
						break;
					default:
						e = 3
				}
				return e
			},
			setHisSocre: function(e) {
				cc.sys.localStorage.setItem("HigScore_JiaoTong", e)
			},
			getHighScore: function() {
				return cc.sys.localStorage.getItem("HigScore_JiaoTong")
			},
			UIPosChange: function() {
				var e = this;
				this.overScoreT.string = r.gameScore, console.log("lang", a.langugeType);
				var t = null;
				t = 1 == a.langugeType ? this.getContentByScore(r.gameScore, a
					.gameNameText) : this.getContentByScore2(r.gameScore, a.gameNameText),
					console.log("nihao", a.endHttpShowInfo), null != a.endHttpShowInfo &&
					"" != a.endHttpShowInfo && (cc.log("gototo"), t = a.endHttpShowInfo),
					this.overInfoT.string = this.getContentByScore3(r.gameScore, a
						.gameNameText);
				var n = this.overInfoT.node.height;
				this.overInfoT.node.height = Math.ceil(t.length * this.overInfoT.fontSize /
						this.overInfoT.node.width) * n, document.title = t, 1 == a
					.langugeType || (t = this.getContentByScore2(r.gameScore, a
						.gameNameText), document.title = t);
				n = this.overInfoT.node.height;
				if (this.overInfoT.node.height = Math.ceil(t.length * this.overInfoT
						.fontSize / this.overInfoT.node.width) * n, this.node.width = this
					.gameWidth, this.node.height = this.gameHeight, this.node.setPosition(0,
						this.gameHeight), this.panel.y = this.gameHeight / 2 - this.panel
					.height / 2 - 300, this.moreBtn.node.y = this.panel.y - 250, this.djjx
					.y = this.moreBtn.node.y - 200, 1 == a.langugeType) {
					var o = this.gameLayer.getComponent("GameLayer").levelnum,
						c = 60 * o.toString().length;
					this.overScoreT.string = o.toString(), this.overScoreT.node.x = 0, this
						.di.x = -(c + this.di.width) / 2 - 20, this.guan.x = (c + this.guan
							.width) / 2 + 20, this.bestScore.string = i.bestScore;
					var s = 40 + this.zgf.width + 56.87 * this.bestScore.string.length +
						this.bestScore.spacingX * (this.bestScore.string.length - 1) + this
						.di1.width + this.guan1.width,
						h = (this.panel.width - s) / 2;
					this.zgf.x = -this.panel.width / 2 + h, this.di1.x = this.zgf.x + this
						.zgf.width + 10, this.bestScore.node.x = this.di1.x + this.di1
						.width + 10, this.guan1.x = 20 + this.bestScore.node.x + 56.87 *
						this.bestScore.string.length + this.bestScore.spacingX * (this
							.bestScore.string.length - 1)
				} else {
					var l = this.gameLayer.getComponent("GameLayer").levelnum,
						u = 60 * l.toString().length;
					this.overScoreT.string = l.toString(), this.overScoreT.node.x = 0, this
						.di.x = -(this.guan.width + this.di.width) / 2 - 20, this.overScoreT
						.node.x = (this.guan.width + u) / 2 + 20 + 20, this.bestScore
						.string = i.bestScore;
					var g = 40 + this.zgf.width + 56.87 * this.bestScore.string.length +
						this.bestScore.spacingX * (this.bestScore.string.length - 1) + this
						.di1.width + this.guan1.width,
						d = (this.panel.width - g) / 2;
					this.zgf.x = -this.panel.width / 2 + d, this.guan1.x = this.zgf.x + this
						.zgf.width + 10, this.di1.x = this.guan1.x + this.guan1.width + 10,
						this.bestScore.node.x = this.di1.x + this.di1.width + 20
				}
				if (this.node.runAction(cc.sequence(cc.moveTo(1, 0, 0).easing(cc
						.easeBackOut()), cc.callFunc(function() {
						e.djjx.active = !0;
						var t = cc.repeatForever(cc.sequence(cc.fadeOut(1), cc
							.fadeIn(1)));
						e.djjx.runAction(t)
					}, this))), this.tempArr = this.gameFocus(), null != a.ranLinkUrl()) {
					var m = a.ranLinkUrl(),
						p = a.ranLinkData.gameList[m].gameName;
					this.rigthBtnGameName = p, this.rightBtnGameUrl = a.ranLinkData
						.gameList[m].gameUrl
				}
				null != this.rigthBtnGameName && "" != this.rigthBtnGameName ? this
					.rightBtnText.string = this.rigthBtnGameName : this.rightBtnText
					.string = this.tempArr[0]
			},
			gameFocus: function() {
				var e = [],
					t = null,
					n = null;
				return Math.random() <= .5 ? (t = a.gameEndName1, n = a.gameEndUrl1) : (t =
					a.gameEndName2, n = a.gameEndUrl2), e.push(t), e.push(n), e
			},
			addClickBtns: function() {
				var e = this;
				e.moreBtn.node.on(cc.Node.EventType.TOUCH_START, function(e) {}), e.moreBtn
					.node.on(cc.Node.EventType.TOUCH_END, function(e) {
						console.log("MoreGame"), window.location.href = a.moreGameUrl
					}), e.leftBtn.node.on(cc.Node.EventType.TOUCH_START, function(e) {}), e
					.leftBtn.node.on(cc.Node.EventType.TOUCH_END, function(e) {
						a.gotoEndLayer(), r.GAME_OVER_BOOL = !0, r.gameScore = 0, o
							.loadingScene("MainGameScene")
					}), e.rightBtn.node.on(cc.Node.EventType.TOUCH_START, function(e) {}), e
					.rightBtn.node.on(cc.Node.EventType.TOUCH_END, function(t) {
						var n = null;
						n = null != e.rightBtnGameUrl && "" != e.rightBtnGameUrl ? e
							.rightBtnGameUrl : e.tempArr[1], window.location.href = n
					})
			},
			getContentByScore: function(e, t) {
				var n = "\u6211\u771f\u662f\u592a\u5389\u5bb3\uff0c\u5728" + t +
					"\u4e2d\u7adf\u7136\u5f97\u4e861\u5206\uff0c\u5168\u7403\u53ea\u67091\u4e2a\u4eba\u5f971\u5206\uff01",
					i = parseInt(.3 * this.standardScore),
					o = parseInt(1.5 * this.standardScore),
					r = parseInt(2.5 * this.standardScore),
					a = parseInt(4 * this.standardScore);
				if (e > 0 && e <= i) n = "\u6211\u5728" + t + "\u4e2d\u5f97\u4e86" + e +
					"\u5206\uff0c\u771f\u662f\u592a\u68d2\u4e86\uff0c\u518d\u7ec3\u7ec3\u5c31\u80fd\u8fbe\u5230\u6e38\u5203\u6709\u4f59\u7684\u5883\u754c\uff01";
				else if (e > i && e <= this.standardScore) n = "\u6211\u5728" + t +
					"\u4e2d\u5f97\u4e86" + e +
					"\u5206\uff0c\u771f\u662f\u592a\u68d2\u4e86\uff0c\u518d\u7ec3\u7ec3\u5c31\u80fd\u8fbe\u5230\u6e38\u5203\u6709\u4f59\u7684\u5883\u754c\uff01";
				else if (e > this.standardScore && e <= o) {
					n = "\u6211\u5728" + t + "\u4e2d\u5f97\u4e86" + e +
						"\u5206\uff0c\u51fb\u8d25\u4e86\u5168\u7403" + (Math.floor(12 * (e -
							this.standardScore) / (o - this.standardScore)) + 80) +
						"%\u7684\u73a9\u5bb6\uff0c\u8fdb\u5165\u4e86\u4fe1\u624b\u62c8\u6765\u7684\u5883\u754c\uff01"
				} else if (e > o && e <= r) {
					n = "\u6211\u5728" + t + "\u4e2d\u5f97\u4e86" + e +
						"\u5206\uff0c\u51fb\u8d25\u4e86\u5168\u7403" + (Math.floor(7 * (e -
							o) / (r - o)) + 92) +
						"%\u7684\u73a9\u5bb6\uff0c\u8fdb\u5165\u4e86\u8fd0\u7528\u81ea\u5982\u7684\u5883\u754c\uff01"
				} else if (e > r && e <= a) n = "\u6211\u5728" + t + "\u4e2d\u5f97\u4e86" +
					e +
					"\u5206\uff0c\u51fb\u8d25\u4e86\u5168\u740399%\u7684\u73a9\u5bb6\uff0c\u8fbe\u5230\u4e86\u884c\u4e91\u6d41\u6c34\u7684\u5883\u754c\uff01";
				else if (e > a && e < this.game_max_score) {
					n = "\u6211\u5728" + t + "\u4e2d\u5f97\u4e86" + e +
						"\u5206\uff0c\u636e\u8bf4\u5168\u7403\u53ea\u6709 " + (20 - Math
							.ceil(17 * (e - a) / (this.game_max_score - a))) +
						"\u4e2a\u4eba\u8fbe\u5230\u8fd9\u4e2a\u6c34\u5e73\uff0c\u72ec\u5b64\u6c42\u8d25\uff01"
				} else e >= this.game_max_score && (n = "\u6211\u5728" + t +
					"\u4e2d\u5f97\u4e86" + e +
					"\u5206\uff0c\u8d85\u8d8a\u4e86\u72ec\u5b64\u6c42\u8d25\uff0c\u5fc3\u6709\u7075\u7280\uff01"
					);
				return n
			},
			strlen: function(e) {
				for (var t = 0, n = 0; n < e.length; n++) {
					var i = e.charCodeAt(n);
					i >= 1 && i <= 126 || 65376 <= i && i <= 65439 ? t++ : t += 2
				}
				return t
			},
			getContentByScore2: function(e, t) {
				var n = "I'm awesome\uff0cin" + t +
					"get 0 score\uff0conly one person in the world has a 0\uff01",
					i = parseInt(.3 * this.standardScore),
					o = parseInt(1.5 * this.standardScore),
					r = parseInt(2.5 * this.standardScore),
					a = parseInt(4 * this.standardScore);
				if (e >= this.game_max_score) n = "I got " + e +
					" points in the game, defeating all players worldwide, waiting for you to fight!";
				else if (e > 0 && e <= i) n = "I got " + e +
					" points in the game, really great\uff01";
				else if (e > i && e <= this.standardScore) n = "I got " + e +
					" points in the game, really great\uff01";
				else if (e > this.standardScore && e <= o) {
					n = "I got in the game in " + e + " points, beating out " + (Math.floor(
							12 * (e - this.standardScore) / (o - this.standardScore)) +
						80) + "% of global players\uff01"
				} else if (e > o && e <= r) {
					n = "I got in the game in " + e + " points, beating out " + (Math.floor(
						7 * (e - o) / (r - o)) + 92) + "% of global players\uff01"
				} else if (e > r && e <= a) n = "I got in the game in " + e +
					" points, beating out 99% of global players\uff01";
				else if (e > a && e < this.game_max_score) {
					n = "I got " + e +
						" points in the game, it said to be the world's only " + (20 - Math
							.ceil(17 * (e - a) / (this.game_max_score - a))) +
						" people to reach this level! Have you?"
				}
				return n
			},
			getContentByScore3: function(e, t) {
				var n = "\u51fb\u8d25\u4e860%\u73a9\u5bb6\uff01",
					i = parseInt(.3 * this.standardScore),
					o = parseInt(1.5 * this.standardScore),
					r = parseInt(2.5 * this.standardScore),
					a = parseInt(4 * this.standardScore);
				if (e > 0 && e <= i) n = "\u51fb\u8d25\u4e8680%\u73a9\u5bb6\uff01";
				else if (e > i && e <= this.standardScore) n =
					"\u51fb\u8d25\u4e8685%\u73a9\u5bb6\uff01";
				else if (e > this.standardScore && e <= o) {
					n = "\u51fb\u8d25\u4e86" + (Math.floor(2 * (e - this.standardScore) / (
						o - this.standardScore)) + 90) + "%\u73a9\u5bb6\uff01"
				} else if (e > o && e <= r) {
					n = "\u51fb\u8d25\u4e86" + (Math.floor(7 * (e - o) / (r - o)) + 92) +
						"%\u73a9\u5bb6\uff01"
				} else if (e > r && e <= a) n = "\u51fb\u8d25\u4e8699%\u73a9\u5bb6\uff01";
				else if (e > a && e < this.game_max_score) {
					Math.ceil(17 * (e - a) / (this.game_max_score - a));
					n = "\u51fb\u8d25\u4e8699%\u73a9\u5bb6"
				} else e >= this.game_max_score && (n =
					"\u51fb\u8d25\u4e86100%\u73a9\u5bb6");
				return n
			},
			start: function() {}
		}), cc._RF.pop()
	}, {
		GameConfig: "GameConfig",
		GameData: "GameData",
		GameUiTools: "GameUiTools",
		MainManage: "MainManage"
	}],
	gameOverJs: [function(e, t, n) {
		"use strict";
		var i;

		function o(e, t, n) {
			return t in e ? Object.defineProperty(e, t, {
				value: n,
				enumerable: !0,
				configurable: !0,
				writable: !0
			}) : e[t] = n, e
		}
		cc._RF.push(t, "73ecc2K1WtFSYxywJ95laqv", "gameOverJs");
		var r = e("GameData"),
			a = e("GameUiTools"),
			c = e("GameConfig"),
			s = e("MainManage");
		cc.Class((o(i = {
			extends: cc.Component,
			properties: {
				bgLayer: cc.Node,
				scoreBg: cc.Node,
				overScoreT: cc.Label,
				overInfoT: cc.Label,
				moreBtn: cc.Button,
				leftBtn: cc.Button,
				rightBtn: cc.Button,
				canShowAd: !0,
				midGameText: cc.Label,
				leftBtnText: cc.Label,
				rightBtnText: cc.Label,
				maxScoreText: cc.Label,
				panel: cc.Node,
				zgf: cc.Node,
				bestScore: cc.Label,
				djjx: cc.Node,
				zgfspr: [cc.SpriteFrame],
				moregame: cc.Node,
				gametype: cc.Float,
				bccj: cc.Node,
				level: cc.Node,
				zgjl: cc.Node,
				bccjspr: [cc.SpriteFrame],
				gdyxspr: [cc.SpriteFrame],
				gameover: cc.Node,
				best: cc.Label,
				score: cc.Label,
				jb: cc.Node,
				gly: cc.Label,
				btn: cc.Button,
				spr: cc.Node
			},
			onLoad: function() {
				this.gametype = 1, this.gameWidth = cc.winSize.width, this
					.gameHeight = cc.winSize.height, 0 == this.gametype ? (c
						.gameScore = c.gameScore, c.gameScore > r.bestScore && (r
							.bestScore = c.gameScore, r.setData()), this.zgf
						.opacity = 255, this.bestScore.node.opacity = 255, this
						.overScoreT.node.opacity = 255, this.level.opacity = 0, this
						.zgjl.opacity = 0) : (c.gameScore > r.bestScore && (r
							.bestScore = c.gameScore, r.setData()), this.zgf
						.opacity = 0, this.bestScore.node.opacity = 0, this
						.overScoreT.node.opacity = 0, this.level.opacity = 255, this
						.zgjl.opacity = 255), s.gameOverShowText(c.gameScore, 1),
					this.standardScore = c.standScore, this.game_max_score = 45,
					this.rigthBtnGameName = null, this.rightBtnGameUrl = null, this
					.canvas = cc.find("Canvas"), this.UIPosChange(), this.SetUI(),
					cc.winSize.height / 1280 < 1 && (this.node.scale = cc.winSize
						.height / 1280), this.addClickBtns();
				var e = "\u6700\u9ad8\u7eaa\u5f55:",
					t = this.returnCurrentLanType();
				e = 1 == t ? "\u6700\u9ad8\u7eaa\u5f55:" : 2 == t ?
					"\u6700\u9ad8\u7d00\u9304:" : 4 == t ?
					"\ucd5c\uace0 \uae30\ub85d:" : "Highest Record:";
				var n = c.gameScore,
					i = this.getHighScore();
				i ? i < c.gameScore && (this.setHisSocre(c.gameScore), i = c
						.gameScore) : (this.setHisSocre(c.gameScore), i = n), this
					.maxScoreText.string = e + i
			},
			start: function() {
				this.node.x = 0, this.node.y = 0
			},
			returnCurrentLanType: function() {
				var e = 1;
				switch (cc.sys.language) {
					case cc.sys.LANGUAGE_CHINESE:
						"zh-TW" == window.navigator.language || "zh-tw" == window
							.navigator.language || "zh-HK" == window.navigator
							.language || "zh-hk" == window.navigator.language ? (cc
								.log("\u7e41\u4f53"), e = 2) : (cc.log(
								"\u7b80\u4f53"), e = 1);
						break;
					case cc.sys.LANGUAGE_KOREAN:
						e = 4;
						break;
					default:
						e = 3
				}
				return e
			},
			setHisSocre: function(e) {
				cc.sys.localStorage.setItem("HigScore_JiaoTong", e)
			},
			getHighScore: function() {
				return cc.sys.localStorage.getItem("HigScore_JiaoTong")
			},
			SetUI: function() {
				this.best.string = r.bestScore;
				var e = this.jb.width + 49.14 * this.best.string.length + this.best
					.spacingX * (this.best.string.length - 1),
					t = (this.node.width - e) / 2;
				this.jb.x = -this.node.width / 2 + t, this.best.node.x = this.jb.x +
					this.jb.width, this.score.string = c.gameScore.toString(), this
					.gly.string = this.getContentByScore3(c.gameScore, s
						.gameNameText), this.moreBtn.node.setPosition(-this.node
						.width / 2 + 80, this.node.height / 2 - 80), this.jb.y =
					this.jb.height / 2 + 20, this.best.node.y = this.jb.y - 5, this
					.gly.node.y = -this.gly.node.height / 2 - 20, this.score.node
					.y = this.jb.y + this.jb.height / 2 + this.score.node.height /
					2 + 100, this.gameover.y = this.score.node.y + this.score.node
					.height / 2 + this.gameover.height / 2 + 100, this.btn.node.y =
					this.gly.node.y - this.gly.node.height / 2 - this.btn.node
					.height / 2 - 50, this.spr.setPosition(0, this.btn.node.y - this
						.btn.node.height / 2 - this.spr.height / 2 - 100), this.jb
					.y += 70, this.best.node.y = this.jb.y - 5, this.btn.node
					.runAction(cc.repeatForever(cc.sequence(cc.scaleTo(.5, 1.1), cc
						.scaleTo(.5, 1))))
			},
			UIPosChange: function() {
				this.overScoreT.string = c.gameScore, console.log("lang", s
					.langugeType);
				var e = null;
				e = 1 == s.langugeType ? this.getContentByScore(c.gameScore, s
						.gameNameText) : this.getContentByScore2(c.gameScore, s
						.gameNameText), console.log("nihao", s.endHttpShowInfo),
					null != s.endHttpShowInfo && "" != s.endHttpShowInfo && (cc.log(
						"gototo"), e = s.endHttpShowInfo);
				var t = this.returnCurrentLanType();
				this.zgf.getComponent(cc.Sprite).spriteFrame = this.zgfspr[t - 1],
					1 == t ? (this.moregame.getComponent(cc.Sprite).spriteFrame =
						this.gdyxspr[t - 1], this.bccj.getComponent(cc.Sprite)
						.spriteFrame = this.bccjspr[t - 1], this.djjx.getComponent(
							cc.Label).string = "\u70b9\u51fb\u7ee7\u7eed", this
						.level.getComponent(cc.Label).string = "\u7b2c " + c
						.gameScore.toString().toString() + " \u5173", this.zgjl
						.getComponent(cc.Label).string =
						"\u6700\u9ad8\u7eaa\u5f55:" + r.bestScore.toString()) : 2 ==
					t ? (this.moregame.getComponent(cc.Sprite).spriteFrame = this
						.gdyxspr[t - 1], this.bccj.getComponent(cc.Sprite)
						.spriteFrame = this.bccjspr[t - 1], this.djjx.getComponent(
							cc.Label).string = "\u9ede\u64ca\u7e7c\u7e8c", this
						.level.getComponent(cc.Label).string = "\u7b2c " + c
						.gameScore.toString() + " \u95dc", this.zgjl.getComponent(cc
							.Label).string = "\u6700\u9ad8\u7d00\u9304:" + r
						.bestScore.toString()) : 3 == t ? (this.moregame
						.getComponent(cc.Sprite).spriteFrame = this.gdyxspr[t - 1],
						this.bccj.getComponent(cc.Sprite).spriteFrame = this
						.bccjspr[t - 1], this.djjx.getComponent(cc.Label).string =
						"Click to continue", this.level.string = "Level " + c
						.gameScore.toString().toString(), this.zgjl.getComponent(cc
							.Label).string = "Best score:" + r.bestScore.toString()
						) : 4 == t && (this.moregame.getComponent(cc.Sprite)
						.spriteFrame = this.gdyxspr[t - 1], this.bccj.getComponent(
							cc.Sprite).spriteFrame = this.bccjspr[t - 1], this.djjx
						.getComponent(cc.Label).string =
						"\uacc4\uc18d\ud558\ub824\uba74 \ud074\ub9ad\ud558\uc138\uc694",
						this.level.string = "\ub808\ubca8 " + c.gameScore.toString()
						.toString(), this.zgjl.getComponent(cc.Label).string =
						"\ucd5c\uace0 \uae30\ub85d:" + r.bestScore.toString()), this
					.overInfoT.string = this.getContentByScore3(c.gameScore, s
						.gameNameText);
				var n = this.overInfoT.node.height;
				this.overInfoT.node.height = Math.ceil(e.length * this.overInfoT
						.fontSize / this.overInfoT.node.width) * n, document.title =
					e, this.node.width = this.gameWidth, this.node.height = this
					.gameHeight, this.node.setPosition(0, this.gameHeight), this
					.panel.y = this.gameHeight / 2 - this.panel.height / 2 - 250,
					this.moreBtn.node.y = this.panel.y - 250, this.djjx.y = this
					.moreBtn.node.y - 200, this.bestScore.string = r.bestScore;
				var i = this.zgf.width + 56.87 * this.bestScore.string.length + this
					.bestScore.spacingX * (this.bestScore.string.length - 1),
					o = (this.panel.width - i) / 2;
				this.zgf.x = -this.panel.width / 2 + o, this.bestScore.node.x = this
					.zgf.x + this.zgf.width, this.djjx.active = !0;
				var a = cc.repeatForever(cc.sequence(cc.fadeOut(1), cc.fadeIn(1)));
				if (this.djjx.runAction(a), this.node.setPosition(0, 0), this
					.tempArr = this.gameFocus(), null != s.ranLinkUrl()) {
					var h = s.ranLinkUrl(),
						l = s.ranLinkData.gameList[h].gameName;
					this.rigthBtnGameName = l, this.rightBtnGameUrl = s.ranLinkData
						.gameList[h].gameUrl
				}
				null != this.rigthBtnGameName && "" != this.rigthBtnGameName ? this
					.rightBtnText.string = this.rigthBtnGameName : this.rightBtnText
					.string = this.tempArr[0]
			},
			gameFocus: function() {
				var e = [],
					t = null,
					n = null;
				return Math.random() <= .5 ? (t = s.gameEndName1, n = s
					.gameEndUrl1) : (t = s.gameEndName2, n = s.gameEndUrl2), e.push(
						t), e.push(n), e
			},
			addClickBtns: function() {
				var e = this;
				e.moreBtn.node.on(cc.Node.EventType.TOUCH_START, function(e) {}), e
					.moreBtn.node.on(cc.Node.EventType.TOUCH_END, function(e) {
						console.log("MoreGame"), window.location.href = s
							.moreGameUrl
					}), e.leftBtn.node.on(cc.Node.EventType.TOUCH_START, function(
					e) {}), e.leftBtn.node.on(cc.Node.EventType.TOUCH_END, function(
						e) {
						c.GAME_OVER_BOOL = !0, c.gameScore = 0, a
							.loadingScene("MainGameScene")
					}), e.rightBtn.node.on(cc.Node.EventType.TOUCH_START, function(
						e) {}), e.rightBtn.node.on(cc.Node.EventType.TOUCH_END,
						function(t) {
							var n = null;
							n = null != e.rightBtnGameUrl && "" != e
								.rightBtnGameUrl ? e.rightBtnGameUrl : e.tempArr[1],
								window.location.href = n
						})
			},
			getContentByScore: function(e, t) {
				var n = "\u6211\u771f\u662f\u592a\u5389\u5bb3\uff0c\u5728" + t +
					"\u4e2d\u7adf\u7136\u5f97\u4e861\u5206\uff0c\u5168\u7403\u53ea\u67091\u4e2a\u4eba\u5f971\u5206\uff01",
					i = parseInt(.3 * this.standardScore),
					o = parseInt(1.5 * this.standardScore),
					r = parseInt(2.5 * this.standardScore),
					a = parseInt(4 * this.standardScore);
				if (e > 0 && e <= i) n = "\u6211\u5728" + t + "\u4e2d\u5f97\u4e86" +
					e +
					"\u5206\uff0c\u771f\u662f\u592a\u68d2\u4e86\uff0c\u518d\u7ec3\u7ec3\u5c31\u80fd\u8fbe\u5230\u6e38\u5203\u6709\u4f59\u7684\u5883\u754c\uff01";
				else if (e > i && e <= this.standardScore) n = "\u6211\u5728" + t +
					"\u4e2d\u5f97\u4e86" + e +
					"\u5206\uff0c\u771f\u662f\u592a\u68d2\u4e86\uff0c\u518d\u7ec3\u7ec3\u5c31\u80fd\u8fbe\u5230\u6e38\u5203\u6709\u4f59\u7684\u5883\u754c\uff01";
				else if (e > this.standardScore && e <= o) {
					n = "\u6211\u5728" + t + "\u4e2d\u5f97\u4e86" + e +
						"\u5206\uff0c\u51fb\u8d25\u4e86\u5168\u7403" + (Math.floor(
							12 * (e - this.standardScore) / (o - this
								.standardScore)) + 80) +
						"%\u7684\u73a9\u5bb6\uff0c\u8fdb\u5165\u4e86\u4fe1\u624b\u62c8\u6765\u7684\u5883\u754c\uff01"
				} else if (e > o && e <= r) {
					n = "\u6211\u5728" + t + "\u4e2d\u5f97\u4e86" + e +
						"\u5206\uff0c\u51fb\u8d25\u4e86\u5168\u7403" + (Math.floor(
							7 * (e - o) / (r - o)) + 92) +
						"%\u7684\u73a9\u5bb6\uff0c\u8fdb\u5165\u4e86\u8fd0\u7528\u81ea\u5982\u7684\u5883\u754c\uff01"
				} else if (e > r && e <= a) n = "\u6211\u5728" + t +
					"\u4e2d\u5f97\u4e86" + e +
					"\u5206\uff0c\u51fb\u8d25\u4e86\u5168\u740399%\u7684\u73a9\u5bb6\uff0c\u8fbe\u5230\u4e86\u884c\u4e91\u6d41\u6c34\u7684\u5883\u754c\uff01";
				else if (e > a && e < this.game_max_score) {
					n = "\u6211\u5728" + t + "\u4e2d\u5f97\u4e86" + e +
						"\u5206\uff0c\u636e\u8bf4\u5168\u7403\u53ea\u6709 " + (20 -
							Math.ceil(17 * (e - a) / (this.game_max_score - a))) +
						"\u4e2a\u4eba\u8fbe\u5230\u8fd9\u4e2a\u6c34\u5e73\uff0c\u72ec\u5b64\u6c42\u8d25\uff01"
				} else e >= this.game_max_score && (n = "\u6211\u5728" + t +
					"\u4e2d\u5f97\u4e86" + e +
					"\u5206\uff0c\u8d85\u8d8a\u4e86\u72ec\u5b64\u6c42\u8d25\uff0c\u5fc3\u6709\u7075\u7280\uff01"
					);
				return n
			},
			strlen: function(e) {
				for (var t = 0, n = 0; n < e.length; n++) {
					var i = e.charCodeAt(n);
					i >= 1 && i <= 126 || 65376 <= i && i <= 65439 ? t++ : t += 2
				}
				return t
			},
			getContentByScore2: function(e, t) {
				var n = "I'm awesome\uff0cin" + t +
					"get 0 score\uff0conly one person in the world has a 0\uff01",
					i = parseInt(.3 * this.standardScore),
					o = parseInt(1.5 * this.standardScore),
					r = parseInt(2.5 * this.standardScore),
					a = parseInt(4 * this.standardScore);
				if (e >= this.game_max_score) n = "I got " + e +
					" points in the game, defeating all players worldwide, waiting for you to fight!";
				else if (e > 0 && e <= i) n = "I got " + e +
					" points in the game, really great\uff01";
				else if (e > i && e <= this.standardScore) n = "I got " + e +
					" points in the game, really great\uff01";
				else if (e > this.standardScore && e <= o) {
					n = "I got in the game in " + e + " points, beating out " + (
						Math.floor(12 * (e - this.standardScore) / (o - this
							.standardScore)) + 80) + "% of global players\uff01"
				} else if (e > o && e <= r) {
					n = "I got in the game in " + e + " points, beating out " + (
							Math.floor(7 * (e - o) / (r - o)) + 92) +
						"% of global players\uff01"
				} else if (e > r && e <= a) n = "I got in the game in " + e +
					" points, beating out 99% of global players\uff01";
				else if (e > a && e < this.game_max_score) {
					n = "I got " + e +
						" points in the game, it said to be the world's only " + (
							20 - Math.ceil(17 * (e - a) / (this.game_max_score - a))
							) + " people to reach this level! Have you?"
				}
				return n
			},
			getContentByScore3: function(e, t) {
				var n = "\u51fb\u8d25\u4e86\u5168\u74030%\u73a9\u5bb6\uff01";
				parseInt(.3 * this.standardScore), parseInt(1.5 * this
						.standardScore), parseInt(2.5 * this.standardScore),
					parseInt(4 * this.standardScore);
				e > 0 && e <= 50 ? n =
					"\u51fb\u8d25\u4e86\u5168\u74035%\u7684\u73a9\u5bb6\uff01" : e >
					50 && e <= 150 ? n =
					"\u51fb\u8d25\u4e86\u5168\u740310%\u7684\u73a9\u5bb6\uff01" :
					e > 150 && e <= 200 ? n =
					"\u51fb\u8d25\u4e86\u5168\u740320%\u7684\u73a9\u5bb6\uff01" :
					e > 200 && e <= 300 ? n =
					"\u51fb\u8d25\u4e86\u5168\u740350%\u7684\u73a9\u5bb6\uff01" :
					e > 300 && e <= 400 ? n =
					"\u51fb\u8d25\u4e86\u5168\u740370%\u7684\u73a9\u5bb6\uff01" :
					e > 400 && e < 500 ? n =
					"\u51fb\u8d25\u4e86\u5168\u740385%\u7684\u73a9\u5bb6" : e >=
					500 && (n =
						"\u51fb\u8d25\u4e86\u5168\u7403100%\u7684\u73a9\u5bb6");
				var i = this.returnCurrentLanType();
				if (1 == i);
				else if (2 == i) {
					n = n.replace("\u51fb\u8d25\u4e86\u5168\u7403",
						"\u64ca\u6557\u4e86").replace("\u7684\u73a9\u5bb6",
						"\u73a9\u5bb6")
				} else if (3 == i) {
					n = n.replace("\u51fb\u8d25\u4e86\u5168\u7403", "Defeated")
						.replace("\u7684\u73a9\u5bb6", "Player")
				} else if (4 == i) {
					n = n.replace("\u51fb\u8d25\u4e86\u5168\u7403", "\ud328\ubc30")
						.replace("\u7684\u73a9\u5bb6", "\ud50c\ub808\uc774\uc5b4")
				}
				return n
			}
		}, "start", function() {}), o(i, "update", function(e) {}), i)), cc._RF.pop()
	}, {
		GameConfig: "GameConfig",
		GameData: "GameData",
		GameUiTools: "GameUiTools",
		MainManage: "MainManage"
	}],
	lineItem: [function(e, t, n) {
		"use strict";
		cc._RF.push(t, "67d5d8Ud5BP0qmySBTbuWBX", "lineItem"), cc.Class({
			extends: cc.Component,
			properties: {
				breakNum: 2,
				pointLen: 20,
				downY: 0,
				maxPointNum: 50,
				Point: cc.Prefab
			},
			onLoad: function() {
				this.pointPool = [], this.pointArr = [], this.obsArr = []
			},
			updateLine: function(e, t, n) {
				this.lineNum = 1, this.endLine(), this.starShowLine(e, t, n, 0)
			},
			starShowLine: function(e, t, n, i) {
				if (this.lineNum > this.breakNum || this.pointArr.length > this.maxPointNum)
					this.pointArr[this.pointArr.length - 1].position = cc.v2(1e4, 0);
				else {
					var o = null;
					this.pointArr.length <= i ? (o = this.getPoint(), this.pointArr.push(
						o)) : o = this.pointArr[i];
					var r = cc.misc.degreesToRadians(t),
						a = Math.cos(r) * (this.pointLen + o.height),
						c = Math.sin(r) * (this.pointLen + o.height) + i * this.downY;
					r = Math.atan2(c, a);
					var s = e.x + Math.cos(r) * (this.pointLen + o.height),
						h = e.y + Math.sin(r) * (this.pointLen + o.height);
					if (s >= n.width / 2 - o.width / 2 || s <= -n.width / 2 + o.width / 2) {
						var l = s > n.x ? 1 : -1;
						s = n.width / 2 * l, h = e.y + (s - e.x) * Math.tan(r), t = -(t -
							180), this.lineNum++
					} else if (h >= n.height / 2 - o.height / 2 || h <= -n.height / 2 + o
						.height / 2) {
						var u = h > 0 ? 1 : -1;
						h = 0 + (n.height / 2 - o.height / 2) * u, s = e.x + (h - e.y) /
							Math.tan(r), t = -t, this.lineNum++
					} else i += 1;
					this.setPointsColor("#FFFFFF"), o.position = cc.v2(s, h);
					var g = this.isInterObs(o);
					if (0 != g) {
						this.lineNum++, this.setPointsColor("#FF0000");
						var d = this.setObsDir(e, r, g);
						t = 1 == d.dir ? -t : -(t - 180), e = d.starPos, i += 1, o
							.position = cc.v2(1e4, 0)
					} else e = cc.v2(s, h), this.starShowLine(e, t, n, i)
				}
			},
			setObsDir: function(e, t, n) {
				var i = {},
					o = n.y > e.y ? n.y - n.height / 2 : n.y + n.height / 2,
					r = e.x + (o - e.y) / Math.tan(t);
				return r >= n.x - n.width / 2 && r <= n.x + n.width / 2 ? (i.dir = 1, i
					.starPos = cc.v2(r, o)) : (i.dir = 2, i.starPos = cc.v2(r, o)), i
			},
			endLine: function() {
				for (var e = 0; e < this.pointArr.length; e++) {
					var t = this.pointArr[e];
					t.position = cc.v2(1e4, 1e4), this.pointPool.push(t)
				}
				this.pointArr = []
			},
			getPoint: function() {
				if (this.pointPool.length <= 0) {
					var e = cc.instantiate(this.Point);
					return this.node.addChild(e), e.width = 8, e.height = 8, e.position = cc
						.v2(1e4, 1e4), e
				}
				var t = this.pointPool[0];
				return this.pointPool.splice(0, 1), t
			},
			setPointsColor: function(e) {
				for (var t = 0; t < this.pointArr.length; t++) {
					this.pointArr[t].color = cc.color(e)
				}
			},
			isInterObs: function(e) {
				for (var t = 0; t < this.obsArr.length; t++) {
					var n = this.obsArr[t];
					if (null != n && this.isRectInterRect(n, e) && !n.isRemove) return n
				}
				return !1
			},
			isRectInterRect: function(e, t) {
				return e.getBoundingBoxToWorld().intersects(t.getBoundingBoxToWorld())
			}
		}), cc._RF.pop()
	}, {}],
	linkHttpIconJs: [function(e, t, n) {
		"use strict";
		cc._RF.push(t, "95474fr0oNDP7SAidILF03q", "linkHttpIconJs");
		var i = e("MainManage"),
			o = e("GameConfig");
		cc.Class({
			extends: cc.Component,
			properties: {
				iconSpr: cc.Node,
				iconSpr1: cc.Node
			},
			onLoad: function() {
				if (this._imageArr = [], this.stopUpdateBool = !0, this.gameWidth = cc
					.director.getWinSize().width, this.gameHeight = cc.director.getWinSize()
					.height, null != i.recGameData && "" != i.recGameData && null != i
					.recGameimg1 && "" != i.recGameimg1) {
					var e = 50 - this.gameWidth / 2,
						t = this.gameHeight - 50 - this.gameHeight / 2;
					null != i.recGamePos && "" != i.recGamePos && (1 == i.recGamePos ? (e =
							50 - this.gameWidth / 2, t = this.gameHeight - 50 - this
							.gameHeight / 2) : 2 == i.recGamePos ? (e = this.gameWidth -
							50 - this.gameWidth / 2, t = this.gameHeight - 50 - this
							.gameHeight / 2) : 3 == i.recGamePos ? (e = this.gameWidth -
							50 - this.gameWidth / 2, t = 50 - this.gameHeight / 2) :
						4 == i.recGamePos && (e = 50 - this.gameWidth / 2, t = 50 - this
							.gameHeight / 2));
					var n = i.recGameimg1,
						o = i.recGameimg2,
						r = this.iconSpr,
						a = this.iconSpr1,
						c = this;
					cc.loader.load(n, function(n, i) {
						r.getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(
								i), c.iconSpr.opacity = 0, c.iconSpr.x = e, c
							.iconSpr.y = t, c._imageArr.push(c.iconSpr)
					}), cc.loader.load(o, function(n, i) {
						a.getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(
								i), c.iconSpr1.opacity = 0, c.iconSpr1.x = e, c
							.iconSpr1.y = t, c._imageArr.push(c.iconSpr1)
					})
				}
				this.addTouchEvents()
			},
			showLinkPic: function() {
				var e = 0,
					t = 0;
				e = null != i.recGameDelPau ? i.recGameDelPau : 6, cc.log(
						"dMainManager.recGameDelPer", i.recGameDelPer), t = null != i
					.recGameDelPer ? i.recGameDelPer : .7, this._imageArr[0].opacity = 255,
					this._imageArr[0].runAction(cc.repeatForever(cc.sequence(cc.delayTime(
						e), cc.rotateBy(t, 0, 180), cc.callFunc(function() {
							this._imageArr[0].setRotation(0), this._imageArr[0]
								.opacity = 0, this._imageArr[1].opacity = 255
						}, this), cc.delayTime(e), cc.callFunc(function() {
							this.flowerAction(this._imageArr[1], t)
						}, this), cc.delayTime(t), cc.callFunc(function() {
							this._imageArr[1].opacity = 0, this._imageArr[0]
								.opacity = 255
						}, this))))
			},
			flowerAction: function(e, t) {
				e.runAction(cc.sequence(cc.rotateBy(t, 0, 180), cc.callFunc(function() {
					e.setRotation(0)
				})))
			},
			start: function() {},
			addTouchEvents: function() {
				var e = this,
					t = {
						event: cc.EventListener.TOUCH_ONE_BY_ONE,
						onTouchBegan: function(t, n) {
							var r = t.getLocation();
							if (e._imageArr.length >= 2) {
								var a = Math.abs(r.x - e.gameWidth / 2 - e._imageArr[0]
										.x),
									c = Math.abs(r.y - e.gameHeight / 2 - e._imageArr[0]
										.y);
								a <= 30 && c <= 30 && (o.noTouchBool = !1, null != i
									.recGameUrl && "" != i.recGameUrl && (e
										._imageArr[0].runAction(cc.sequence(cc
											.scaleTo(.1, .8), cc.scaleTo(.1, 1),
											cc.callFunc(function() {
												window.location.href = i
													.recGameUrl
											}))), e._imageArr[1].runAction(cc
											.sequence(cc.scaleTo(.1, .8), cc
												.scaleTo(.1, 1)))), console.log(
										"touchLinkHttp"))
							}
							return !0
						},
						onTouchMoved: function(e, t) {},
						onTouchEnded: function(e, t) {}
					};
				cc.eventManager.addListener(t, e.node)
			},
			update: function(e) {
				this.stopUpdateBool && this._imageArr.length >= 2 && (this
					.stopUpdateBool = !1, this.showLinkPic())
			}
		}), cc._RF.pop()
	}, {
		GameConfig: "GameConfig",
		MainManage: "MainManage"
	}],
	mTool: [function(e, t, n) {
		"use strict";
		cc._RF.push(t, "458b0r0MQFBrKqaPEj1jsUk", "mTool");
		var i = {
			getRandomNum: function(e, t, n) {
				return n ? Math.floor(Math.random() * (t - e + 1) + e) : Math.random() * (t -
					e) + e
			},
			cbPosToWorldPos: function(e, t, n, i, o, r) {
				var a = n + (e.x - t.x / 2 + .5) * o,
					c = i + (e.y + .5) * r;
				return cc.v2(a, c)
			},
			judgeInArr: function(e, t) {
				for (var n = 0; n < t.length; n++)
					if (t[n] === e) return !0;
				return !1
			},
			getAngle: function(e, t) {
				var n = t.x - e.x,
					i = t.y - e.y;
				return 360 * Math.atan(i / n) / (2 * Math.PI)
			},
			judgeIntersect: function(e, t, n, i, o, r, a, c) {
				return Math.min(e, n) <= Math.max(o, a) && Math.min(r, c) <= Math.max(t, i) &&
					Math.min(o, a) <= Math.max(e, n) && Math.min(t, i) <= Math.max(r, c) && (((
						o - e) * (i - t) - (n - e) * (r - t)) * ((a - e) * (i - t) - (n -
						e) * (c - t)) <= 1e-8 && ((e - o) * (c - r) - (a - o) * (t - r)) * (
						(n - o) * (c - r) - (a - o) * (i - r)) <= 1e-8)
			},
			getNormalizeVector: function(e, t) {
				return t.sub(e).normalize()
			},
			getDistance: function(e, t) {
				return t.sub(e).mag()
			},
			vectorsToDegress: function(e) {
				var t = cc.v2(1, 0),
					n = e.signAngle(t);
				return cc.misc.radiansToDegrees(-n)
			},
			degreesToVectors: function(e) {
				var t = cc.misc.degreesToRadians(e);
				return cc.v2(1, 0).rotate(t)
			},
			judgeItemOverlapping: function(e, t, n, i, o, r, a, c) {
				return !(e + n < o || o + a < e || t + i < r || r + c < t)
			},
			getCircumferencePos: function(e, t, n) {
				var i = cc.v2(0, 0);
				return i.x = e.x + Math.sin(2 * Math.PI / 360 * n) * t, i.y = e.y + Math.cos(2 *
					Math.PI / 360 * n) * t, i
			},
			upsetArr: function(e) {
				return e.sort(function(e, t) {
					return Math.random() > .5 ? -1 : 1
				})
			},
			getAudio: function(e, t) {
				return cc.sys.os === cc.sys.OS_IOS ? e : t
			},
			setLocalData: function(e, t) {
				cc.sys.localStorage.setItem(e, t)
			},
			getLocalData: function(e) {
				return cc.sys.localStorage.getItem(e)
			},
			getNovaParticle: function(e, t, n, i, o, r, a, c, s, h, l, u, g) {
				for (var d = 0; d < i; d++) {
					var m = cc.instantiate(n);
					e.addChild(m, t), m.setPosition(o), m.setScale(this.getRandomNum(r, a));
					var p = (Math.random() * l + h) * Math.PI / 180,
						f = this.getRandomNum(c, s),
						v = cc.p(o.x + Math.sin(p) * f, o.y + Math.cos(p) * f);
					m.runAction(cc.sequence(cc.delayTime(g), cc.spawn(cc.moveTo(u, v).easing(cc
						.easeExponentialOut()), cc.rotateBy(u, this
						.getRandomNum(360, 720)), cc.fadeTo(u, 150)), cc.removeSelf(
						!0)))
				}
			},
			generatedAround: function(e, t, n, i) {
				if (0 == i) {
					if (1 == (a = this.getRandomNum(1, 2, !0))) {
						var o = cc.moveBy(1.5, cc.v2(Math.random() * t + 100, Math.random() *
							n + 200)).easing(cc.easeCubicActionOut());
						e.runAction(cc.sequence(o, cc.delayTime(3), cc.callFunc(function() {
							this.node.active = !1
						}, this)))
					}
					if (2 == a) {
						var r = cc.moveBy(1.5, cc.v2(Math.random() * -t - 100, Math.random() *
							n + 200)).easing(cc.easeCubicActionOut());
						e.runAction(cc.sequence(r, cc.delayTime(3), cc.callFunc(function() {
							this.node.active = !1
						}, this)))
					}
				} else {
					var a;
					if (1 == (a = this.getRandomNum(1, 4, !0))) {
						o = cc.moveBy(1.5, cc.v2(Math.random() * t + 100, Math.random() * n +
							200)).easing(cc.easeCubicActionOut());
						e.runAction(cc.sequence(o, cc.delayTime(3), cc.callFunc(function() {
							this.node.active = !1
						}, this)))
					}
					if (2 == a) {
						r = cc.moveBy(1.5, cc.v2(Math.random() * -t - 100, Math.random() * n +
							200)).easing(cc.easeCubicActionOut());
						e.runAction(cc.sequence(r, cc.delayTime(3), cc.callFunc(function() {
							this.node.active = !1
						}, this)))
					}
					if (3 == a) {
						r = cc.moveBy(1.5, cc.v2(Math.random() * -t - 100, Math.random() * -n +
							200)).easing(cc.easeCubicActionOut());
						e.runAction(cc.sequence(r, cc.delayTime(3), cc.callFunc(function() {
							this.node.active = !1
						}, this)))
					}
					if (4 == a) {
						r = cc.moveBy(1.5, cc.v2(Math.random() * t - 100, Math.random() * -n +
							200)).easing(cc.easeCubicActionOut());
						e.runAction(cc.sequence(r, cc.delayTime(3), cc.callFunc(function() {
							this.node.active = !1
						}, this)))
					}
				}
			},
			judgeArrExist: function(e, t) {
				for (var n = 0; n < e.length; n++)
					if (e[n] === t) return !0;
				return !1
			},
			deleteArrItem: function(e, t) {
				for (var n = 0; n < e.length; n++)
					if (e[n] === t) return void e.splice(n, 1)
			},
			UpsetArr: function(e) {
				for (var t = e.length; t;) {
					var n = Math.floor(Math.random() * t--),
						i = [e[t], e[n]];
					e[n] = i[0], e[t] = i[1]
				}
				return e
			},
			sortArr: function(e, t) {
				for (var n = 0; n < e.length - 1; n++)
					for (var i = 0; i < e.length - 1; i++) {
						switch (t) {
							case 0:
								var o = e[i] > e[i + 1];
								break;
							case 1:
								o = e[i].x > e[i + 1].x;
								break;
							case 2:
								o = e[i].y > e[i + 1].y
						}
						if (o) {
							var r = e[i];
							e[i] = e[i + 1], e[i + 1] = r
						}
					}
			},
			getPointByCPAndAngleAndLen: function(e, t, n) {
				var i = t * Math.PI / 180,
					o = n * Math.cos(i),
					r = n * Math.sin(i);
				return cc.p(e.x + r, e.y + o)
			},
			setPos: function(e, t) {
				var n = e.width,
					i = e.height,
					o = this.randomInt(0, t - n / 2),
					r = Math.sqrt(t * t - o * o),
					a = this.randomInt(0, r - i / 2),
					c = this.randomInt(1, 2),
					s = this.randomInt(1, 2);
				return 1 == c && (o = -o), 1 == s && (a = -a), cc.v2(o, a)
			},
			setSprite: function(e, t, n) {
				var i = e.getSpriteFrame(n);
				t.getComponent(cc.Sprite).spriteFrame = i
			},
			logArr: function(e) {
				for (var t = "", n = 0; n < e.length; n++) t += e[n].x + ",", t += e[n].y + ",";
				cc.log(t)
			},
			analysisArr: function(e) {
				for (var t = [], n = 0; n < e.length; n++)
					if (n % 2 == 0) {
						var i = cc.v2(e[n], e[n + 1]);
						t.push(i)
					} return t
			},
			DetermineTheAngle: function(e, t) {
				var n = e.x - t.x,
					i = e.y - t.y,
					o = cc.v2(n, i);
				return Math.atan2(o.x, o.y) * (180 / Math.PI)
			},
			setAngle: function(e, t) {
				var n = cc.pSub(e, t).normalize();
				return -(cc.pToAngle(n) / Math.PI * 180)
			},
			localConvertWorldPointAR: function(e) {
				return e ? e.convertToWorldSpaceAR(cc.v2(0, 0)) : null
			},
			localConvertWorldPoint: function(e) {
				return e ? e.convertToWorldSpace(cc.v2(0, 0)) : null
			},
			worldConvertLocalPointAR: function(e, t) {
				return e ? e.convertToNodeSpaceAR(t) : null
			},
			worldConvertLocalPoint: function(e, t) {
				return e ? e.convertToNodeSpace(t) : null
			},
			convetOtherNodeSpace: function(e, t) {
				var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : cc.v2(
					0, 0);
				if (!e || !t) return null;
				var i = e.convertToWorldSpaceAR(n);
				return t.convertToNodeSpaceAR(i)
			},
			convetOtherNodeSpaceAR: function(e, t) {
				if (!e || !t) return null;
				var n = this.localConvertWorldPointAR(e);
				return this.worldConvertLocalPointAR(t, n)
			}
		};
		t.exports = i, cc._RF.pop()
	}, {}],
	other: [function(e, t, n) {
		"use strict";
		cc._RF.push(t, "291f7eck+ZHRrreLLDwg/fk", "other");
		var i = {
			randomInt: function(e, t, n) {
				return n ? Math.random() * (t - e) + e : Math.floor(Math.random() * (t - e +
					1) + e)
			},
			judgeArrExist: function(e, t, n) {
				if (n) {
					for (var i = 0; i < t.length; i++)
						if (t[i].x == e.x && t[i].y == e.y) return !0
				} else
					for (i = 0; i < t.length; i++)
						if (t[i] === e) return !0;
				return !1
			},
			getAngleByPos: function(e, t) {
				var n = t.x - e.x,
					i = t.y - e.y;
				return 360 * Math.atan(i / n) / (2 * Math.PI)
			},
			getNormalizeVector: function(e, t) {
				return t.sub(e).normalize()
			},
			getCircumferencePos: function(e, t, n) {
				var i = cc.v2(0, 0);
				return i.x = e.x + Math.sin(2 * Math.PI / 360 * n) * t, i.y = e.y + Math.cos(2 *
					Math.PI / 360 * n) * t, i
			},
			upsetArr: function(e) {
				return e.sort(function(e, t) {
					return Math.random() > .5 ? -1 : 1
				})
			},
			addNowArr: function(e, t, n) {
				if (n) {
					for (var i = 0; i < e.length; i++)
						if (e[i].x == t.x && e[i].y == t.y) return !1;
					return e.push(t), !0
				}
				return e.indexOf(t) < 0 && (e.push(t), !0)
			},
			deleteArrItem: function(e, t, n) {
				if (n) {
					for (var i = 0; i < t.length; i++)
						if (t[i].x == e.x && t[i].y == e.y) return t.splice(i, 1), !0
				} else
					for (i = 0; i < t.length; i++)
						if (t[i] === e) return t.splice(i, 1), !0;
				return !1
			},
			pDistance: function(e, t) {
				return e.sub(t).mag()
			},
			degreesToVectors: function(e) {
				var t = cc.misc.degreesToRadians(e);
				return cc.v2(0, 1).rotate(-t)
			},
			vectorsToDegress: function(e) {
				if (Math.abs(e.x) + Math.abs(e.y) !== 0) {
					var t = cc.v2(0, 1),
						n = e.signAngle(t);
					return cc.radiansToDegrees(n)
				}
				return 0
			},
			setSprite: function(e, t, n) {
				var i = e.getSpriteFrame(n);
				t.getComponent(cc.Sprite).spriteFrame = i
			},
			findEightPos: function(e, t, n) {
				for (var i = [], o = e.x - 1; o <= e.x + 1; o++)
					for (var r = e.y - 1; r <= e.y + 1; r++) o < 0 || r < 0 || o >= t || r >=
						n || o == e.x && r == e.y || i.push(cc.v2(o, r));
				return i
			},
			TakeSymbols: function(e) {
				return e / Math.abs(e)
			},
			AdjustLabelInterval: function(e, t) {
				for (var n = e.children, i = 0, o = 0; o < n.length; o++) i += n[o].width * Math
					.abs(n[o].scaleX);
				i += t * (n.length - 1);
				for (var r = 0; r < n.length; r++) n[r].x = 0 == r ? -.5 * i + .5 * n[r].width *
					Math.abs(n[r].scaleX) : n[r - 1].x + .5 * n[r - 1].width * Math.abs(n[r - 1]
						.scaleX) + t + .5 * n[r].width * Math.abs(n[r].scaleX)
			},
			localConvertWorldPointAR: function(e) {
				return e ? e.convertToWorldSpaceAR(cc.v2(0, 0)) : null
			},
			localConvertWorldPoint: function(e) {
				return e ? e.convertToWorldSpace(cc.v2(0, 0)) : null
			},
			worldConvertLocalPointAR: function(e, t) {
				return e ? e.convertToNodeSpaceAR(t) : null
			},
			worldConvertLocalPoint: function(e, t) {
				return e ? e.convertToNodeSpace(t) : null
			},
			convetOtherNodeSpaceAR: function(e, t) {
				if (!e || !t) return null;
				var n = this.localConvertWorldPointAR(e);
				return this.worldConvertLocalPointAR(t, n)
			},
			convetOtherNodeSpace: function(e, t) {
				if (!e || !t) return null;
				var n = this.localConvertWorldPoint(e);
				return this.worldConvertLocalPoint(t, n)
			},
			LocalCoordinatesToTheWorldAR: function(e, t) {
				return e ? e.convertToWorldSpaceAR(t) : null
			},
			LocalCoordinatesToTheWorld: function(e, t) {
				return e ? e.convertToWorldSpace(t) : null
			},
			setPos: function(e, t) {
				var n = e.width,
					i = e.height,
					o = this.randomInt(0, t - n / 2),
					r = Math.sqrt(t * t - o * o),
					a = this.randomInt(0, r - i / 2),
					c = this.randomInt(1, 2),
					s = this.randomInt(1, 2);
				return 1 == c && (o = -o), 1 == s && (a = -a), cc.v2(o, a)
			},
			sortArr: function(e, t) {
				for (var n = 0; n < e.length - 1; n++)
					for (var i = 0; i < e.length - 1; i++) {
						switch (t) {
							case 0:
								var o = e[i] > e[i + 1];
								break;
							case 1:
								o = e[i].x > e[i + 1].x;
								break;
							case 2:
								o = e[i].y > e[i + 1].y
						}
						if (o) {
							var r = e[i];
							e[i] = e[i + 1], e[i + 1] = r
						}
					}
			},
			sortArr_1: function(e, t, n) {
				if (!(t > n)) {
					for (var i = t, o = n, r = e[t]; i != o;) {
						for (; e[o] >= r && o > i;) o--;
						for (; e[i] <= r && i < o;) i++;
						if (i < o) {
							var a = e[i];
							e[i] = e[o], e[o] = a
						}
					}
					i == o && (e[t] = e[i], e[i] = r), this.sortArr_1(e, t, i - 1), this
						.sortArr_1(e, i + 1, n)
				}
			},
			getDistance: function(e, t) {
				return e.sub(t).mag()
			}
		};
		window.other = i, cc._RF.pop()
	}, {}],
	resArr: [function(e, t, n) {
		"use strict";
		cc._RF.push(t, "3a797QRmqpG6JU96IHTQi/k", "resArr"), cc.Class({
			extends: cc.Component,
			properties: {
				SpriteFrameArr: [cc.SpriteFrame],
				PrefabArr: [cc.Prefab],
				audiosArr: {
					type: cc.AudioClip,
					default: []
				}
			},
			onLoad: function() {
				void 0 != ToolsJs && (ToolsJs.PrefabArrJs = this, ToolsJs.SpriteFrameJs =
						this, ToolsJs.AudioArrJs = this), this.addPrefabs(), this
					.addSpriteFrame(), this.audioClipDic = {};
				for (var e = 0; e < this.audiosArr.length; e++) {
					var t = this.audiosArr[e];
					this.audioClipDic[t.name] = t
				}
			},
			playAudio: function(e) {
				var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : .3,
					n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2];
				return null != this.audioClipDic[e] ? cc.audioEngine.play(this.audioClipDic[
					e], n, t) : (console.log(
					"\u6ca1\u6709\u627e\u5230\u97f3\u9891\uff1a" + e), null)
			},
			getAudioClip: function(e) {
				return null != this.audioClipDic[e] ? this.audioClipDic[e] : (console.log(
					"\u6ca1\u6709\u627e\u5230\u97f3\u9891\uff1a" + e), null)
			},
			addSpriteFrame: function() {
				this.spriteArr = {};
				for (var e = 0; e < this.SpriteFrameArr.length; e++) {
					var t = this.SpriteFrameArr[e];
					null != t && (this.spriteArr[t.name] = t)
				}
			},
			getSpriteFrame: function(e) {
				return null != this.spriteArr[e] ? this.spriteArr[e] : (console.log(
					"\u6ca1\u6709\u6dfb\u52a0\u56fe\u7247\uff1a" + e), null)
			},
			addPrefabs: function() {
				this.prefabsArr = {};
				for (var e = 0; e < this.PrefabArr.length; e++) {
					var t = this.PrefabArr[e];
					this.prefabsArr[t.name] = t
				}
			},
			getPrefabs: function(e) {
				return null != this.prefabsArr[e] ? this.prefabsArr[e] : (console.log(
					"\u6ca1\u6709\u9884\u5236\u4f53\uff1a" + e), null)
			}
		}), cc._RF.pop()
	}, {}],
	"use_v2.1.x_cc.Action": [function(e, t, n) {
		"use strict";
		cc._RF.push(t, "d01aeQ0QFdMB51S2Ip7FS7V", "use_v2.1.x_cc.Action"), cc.macro
			.ROTATE_ACTION_CCW = !0, cc._RF.pop()
	}, {}]
}, {}, ["HttpManagerJs", "LanguageSetJs", "LoadSceneJs", "AniTools", "MainGameJS", "ToolsJs", "resArr",
	"MainManage", "Canvas", "GameData", "GameLayer", "Gem", "Grid", "Interface", "PlayMusic", "PoolManager",
	"Shake", "SuccessPanel", "TestClass", "TouchMgr", "Util", "lineItem", "mTool", "other", "GameConfig",
	"GameUiTools", "gameOverJs", "gameOverJs1", "linkHttpIconJs", "use_v2.1.x_cc.Action"
]);
